46
Project 6 Using The Analysis ToolPak To Analyze Sales Transactions Jason C. H. Chen, Ph.D. Professor of Management Information Systems School of Business Administration Gonzaga University Spokane, WA 99258, USA [email protected]

Project 6 Using The Analysis ToolPak To Analyze Sales Transactions Jason C. H. Chen, Ph.D. Professor of Management Information Systems School of Business

Embed Size (px)

Citation preview

Page 1: Project 6 Using The Analysis ToolPak To Analyze Sales Transactions Jason C. H. Chen, Ph.D. Professor of Management Information Systems School of Business

Project 6Using The Analysis ToolPak To

Analyze Sales Transactions

Jason C. H. Chen, Ph.D.Professor of

Management Information Systems

School of Business Administration

Gonzaga UniversitySpokane, WA 99258, USA

[email protected]

Page 2: Project 6 Using The Analysis ToolPak To Analyze Sales Transactions Jason C. H. Chen, Ph.D. Professor of Management Information Systems School of Business

2

Excel Skills Conduct an ANOVA comparing three groups Conduct an ANOVA comparing two groups Create a chart using Microsoft Map Import ASCII data Set up a data set Use the IF function to recode values

Page 3: Project 6 Using The Analysis ToolPak To Analyze Sales Transactions Jason C. H. Chen, Ph.D. Professor of Management Information Systems School of Business

3

Key Terms Alpha

The probability of making a type I error (rejecting the null hypothesis when it is actually true).

Analysis of Variance (ANOVA) A statistical procedure to test the hypothesis that

means from two or more samples are equal. ANOVA table

A table used to display the results of an ANOVA procedure.

Case One row of data in a data set that you will analyze

using Excel's statistical procedures in the Analysis ToolPak.

Page 4: Project 6 Using The Analysis ToolPak To Analyze Sales Transactions Jason C. H. Chen, Ph.D. Professor of Management Information Systems School of Business

4

Key Terms Coding

A method of assigning a value to a variable to be used in statistical analysis. For example, you may need to recode the nominal data for "male" and "female" as 0 and 1 respectively.

Critical value The value from a sampling distribution against which

you compare a computed statistic to determine whether to accept or reject the null hypothesis.

Data Facts and figures that have not been interpreted in a

specific context.

Page 5: Project 6 Using The Analysis ToolPak To Analyze Sales Transactions Jason C. H. Chen, Ph.D. Professor of Management Information Systems School of Business

5

Key Terms Data set

Data you analyze using one or more statistical procedures is stored in a data set.

Descriptive statistics Indices and numbers that summarize a data

set. Dichotomous variable

A variable that can take one of two values. The sex of a survey respondent is an example of a dichotomous variable.

Page 6: Project 6 Using The Analysis ToolPak To Analyze Sales Transactions Jason C. H. Chen, Ph.D. Professor of Management Information Systems School of Business

6

Key Terms F Distribution

A theoretical sampling distribution of F values. The ANOVA procedure uses the F distribution.

Field Data comprised of individual elements such as

last name and first name, where a consistent set of identifiers define one or more records.

Information Data that is meaningful within a specific

context.

Page 7: Project 6 Using The Analysis ToolPak To Analyze Sales Transactions Jason C. H. Chen, Ph.D. Professor of Management Information Systems School of Business

7

Key Terms Recoded values

Nominal data converted to numeric data for statistical analysis.

Record A collection of fields defining one instance

of an entity in a database or list. Statistically significant

Statistical significance

Page 8: Project 6 Using The Analysis ToolPak To Analyze Sales Transactions Jason C. H. Chen, Ph.D. Professor of Management Information Systems School of Business

8

Key Terms Test statistic

The value returned from a statistical procedure such as ANOVA.

Variable Something that exists in more than one

amount or more than one form, or can assume a range of values at any time.

Page 9: Project 6 Using The Analysis ToolPak To Analyze Sales Transactions Jason C. H. Chen, Ph.D. Professor of Management Information Systems School of Business

9

Objectives Import ASCII data into Microsoft Excel Add additional formulas to the

worksheet Use the IF logical function to recode the

Gender variable Create two data sets containing the

values to be tested

Page 10: Project 6 Using The Analysis ToolPak To Analyze Sales Transactions Jason C. H. Chen, Ph.D. Professor of Management Information Systems School of Business

10

Objectives Calculate descriptive statistics using the

Data Analysis tools Conduct an Analysis Of Variance

comparing means for two groups Conduct an Analysis Of Variance

comparing means for three groups Display data on a map using Microsoft

Map

Page 11: Project 6 Using The Analysis ToolPak To Analyze Sales Transactions Jason C. H. Chen, Ph.D. Professor of Management Information Systems School of Business

11

Running Case Use Excel to conduct more

sophisticated data analysis. Management is interested in

monitoring the shopping habits of males and females, and also determining how customer

location impacts product selection.

Page 12: Project 6 Using The Analysis ToolPak To Analyze Sales Transactions Jason C. H. Chen, Ph.D. Professor of Management Information Systems School of Business

12

Project Challenge Mr. Traylor wants to know two things

about e shoppers: (1) Whether there are statistically

significant differences in purchasing trends between women and men.

(2) If product selection varies depending upon customer location.

Page 13: Project 6 Using The Analysis ToolPak To Analyze Sales Transactions Jason C. H. Chen, Ph.D. Professor of Management Information Systems School of Business

13

Fields of the Data File

Data file: SalesData.xls

Data file: Orders.xls

new field

Page 14: Project 6 Using The Analysis ToolPak To Analyze Sales Transactions Jason C. H. Chen, Ph.D. Professor of Management Information Systems School of Business

14

Task 4

Page 15: Project 6 Using The Analysis ToolPak To Analyze Sales Transactions Jason C. H. Chen, Ph.D. Professor of Management Information Systems School of Business

15

Page 16: Project 6 Using The Analysis ToolPak To Analyze Sales Transactions Jason C. H. Chen, Ph.D. Professor of Management Information Systems School of Business

16

By Region ANOVA

Page 17: Project 6 Using The Analysis ToolPak To Analyze Sales Transactions Jason C. H. Chen, Ph.D. Professor of Management Information Systems School of Business

17

Two HypothesisIf obtained F value does not exceed

critical F value THEN Null hypothesis

there is no difference between men and women

ELSE Alternate hypothesis

There is a statistically significant difference in their shopping habits

Page 18: Project 6 Using The Analysis ToolPak To Analyze Sales Transactions Jason C. H. Chen, Ph.D. Professor of Management Information Systems School of Business

18

Task 8: Conduct the ANOVA for the By Gender data set

If you can’t find the add-in of Data Analysis from the Tool drop-down menu

Page 19: Project 6 Using The Analysis ToolPak To Analyze Sales Transactions Jason C. H. Chen, Ph.D. Professor of Management Information Systems School of Business

19

Page 20: Project 6 Using The Analysis ToolPak To Analyze Sales Transactions Jason C. H. Chen, Ph.D. Professor of Management Information Systems School of Business

20

Therefore, the null hypothesis is true that - there is no statistically significant difference in purchasing decisions between women and men based on this sample.

The obtained F value of 0.01 if cell E 11 does not exceed the critical F value of 4.13 in cell G11

With alpha equal to 0.05, the researcher (or marketing rep.) has 95% confidence that the result are true.

Does Gender affect shopping habits?

Page 21: Project 6 Using The Analysis ToolPak To Analyze Sales Transactions Jason C. H. Chen, Ph.D. Professor of Management Information Systems School of Business

21

Case 1: with alpha equal to 0.05

Case 1: with alpha equal to 0.10

Page 22: Project 6 Using The Analysis ToolPak To Analyze Sales Transactions Jason C. H. Chen, Ph.D. Professor of Management Information Systems School of Business

22

Task 9: Conduct the ANOVA for the By Region data set

T-test Comparing means for two groups only

ANOVA Comparing means for three or more groups

Page 23: Project 6 Using The Analysis ToolPak To Analyze Sales Transactions Jason C. H. Chen, Ph.D. Professor of Management Information Systems School of Business

23

The obtained F value of 0.809 if cell E 12 does not exceed the critical F value of 3.28 in cell G12.

Therefore the null hypothesis is retained; there are no significant difference between the purchasing decisions of customers in the East, Midwest, and West.

Does customer locations affect products selection?

Page 24: Project 6 Using The Analysis ToolPak To Analyze Sales Transactions Jason C. H. Chen, Ph.D. Professor of Management Information Systems School of Business

24

Solution – By Gender ANOVA

Page 25: Project 6 Using The Analysis ToolPak To Analyze Sales Transactions Jason C. H. Chen, Ph.D. Professor of Management Information Systems School of Business

25

How to add the Map button?

Page 26: Project 6 Using The Analysis ToolPak To Analyze Sales Transactions Jason C. H. Chen, Ph.D. Professor of Management Information Systems School of Business

26

Task 10: Display Sales Data on a Map using Microsoft Map

1. Click the SalesData worksheet tab to make it the active sheet.

2. Hide all worksheet columns except columns H,I,J, and Q

3. Highlight the range H1:H374. Hold down [Ctrl] and select

the range Q1:Q37

5. Click the Map button on the Standard Toolbar (if it is not shown, see the instruction to add it)

Page 27: Project 6 Using The Analysis ToolPak To Analyze Sales Transactions Jason C. H. Chen, Ph.D. Professor of Management Information Systems School of Business

27

Task 10: Display Sales Data on a Map using M/S Map (cont.)

6. Drag an area on the worksheet indicating the size and location of the map you want to create.

Page 28: Project 6 Using The Analysis ToolPak To Analyze Sales Transactions Jason C. H. Chen, Ph.D. Professor of Management Information Systems School of Business

28

7. The Multiple Map Available dialog should appear. Select United States in North America.

8. Click OK. Excel will create the map, and the Microsoft Map Control will appear.

9. Click the Close button on the Map control to close it.

Page 29: Project 6 Using The Analysis ToolPak To Analyze Sales Transactions Jason C. H. Chen, Ph.D. Professor of Management Information Systems School of Business

29

10. Click an area outside the chart. The map is shown.11. Click File, Save As, and save the workbook as Sales Analysis W-

Map.xls

Page 30: Project 6 Using The Analysis ToolPak To Analyze Sales Transactions Jason C. H. Chen, Ph.D. Professor of Management Information Systems School of Business

30

Final Map generated from Sales Data

Page 31: Project 6 Using The Analysis ToolPak To Analyze Sales Transactions Jason C. H. Chen, Ph.D. Professor of Management Information Systems School of Business

31

Microsoft Map

Page 32: Project 6 Using The Analysis ToolPak To Analyze Sales Transactions Jason C. H. Chen, Ph.D. Professor of Management Information Systems School of Business

32

How to re-display the Map Control?

1. On step 10, just click an area outside the chart. Do Not close the Map Control.

2. Select the Map by clicking an area inside the chart, then right click.3. A pop-up menu is shown.4. Select Microsoft Map Object, the click on Edit.5. The Map Control menu is re-displayed.

Page 33: Project 6 Using The Analysis ToolPak To Analyze Sales Transactions Jason C. H. Chen, Ph.D. Professor of Management Information Systems School of Business

33

Page 34: Project 6 Using The Analysis ToolPak To Analyze Sales Transactions Jason C. H. Chen, Ph.D. Professor of Management Information Systems School of Business

34

Exploring Other Features from Map Control: Count of Sate

Page 35: Project 6 Using The Analysis ToolPak To Analyze Sales Transactions Jason C. H. Chen, Ph.D. Professor of Management Information Systems School of Business

35

Result of Count of State (1)

Page 36: Project 6 Using The Analysis ToolPak To Analyze Sales Transactions Jason C. H. Chen, Ph.D. Professor of Management Information Systems School of Business

36

Result of Count of State (2)

Page 37: Project 6 Using The Analysis ToolPak To Analyze Sales Transactions Jason C. H. Chen, Ph.D. Professor of Management Information Systems School of Business

37

Exploring Other Features from Map Control: Total

Page 38: Project 6 Using The Analysis ToolPak To Analyze Sales Transactions Jason C. H. Chen, Ph.D. Professor of Management Information Systems School of Business

38

Result of Total (1)

Page 39: Project 6 Using The Analysis ToolPak To Analyze Sales Transactions Jason C. H. Chen, Ph.D. Professor of Management Information Systems School of Business

39

Result of Total (2)

Page 40: Project 6 Using The Analysis ToolPak To Analyze Sales Transactions Jason C. H. Chen, Ph.D. Professor of Management Information Systems School of Business

40

Page 41: Project 6 Using The Analysis ToolPak To Analyze Sales Transactions Jason C. H. Chen, Ph.D. Professor of Management Information Systems School of Business

41

Page 42: Project 6 Using The Analysis ToolPak To Analyze Sales Transactions Jason C. H. Chen, Ph.D. Professor of Management Information Systems School of Business

42

Page 43: Project 6 Using The Analysis ToolPak To Analyze Sales Transactions Jason C. H. Chen, Ph.D. Professor of Management Information Systems School of Business

43

Page 44: Project 6 Using The Analysis ToolPak To Analyze Sales Transactions Jason C. H. Chen, Ph.D. Professor of Management Information Systems School of Business

Project 6

Using The Analysis ToolPak To Analyze Sales Transactions

Page 45: Project 6 Using The Analysis ToolPak To Analyze Sales Transactions Jason C. H. Chen, Ph.D. Professor of Management Information Systems School of Business

45

Page 46: Project 6 Using The Analysis ToolPak To Analyze Sales Transactions Jason C. H. Chen, Ph.D. Professor of Management Information Systems School of Business

46