Presentation is loading. Please wait.

Presentation is loading. Please wait.

Guide to Using Excel 2003 For Basic Statistical Applications

Similar presentations


Presentation on theme: "Guide to Using Excel 2003 For Basic Statistical Applications"— Presentation transcript:

1 Guide to Using Excel 2003 For Basic Statistical Applications
To Accompany Business Statistics: A Decision Making Approach, 7th Ed. Chapter 2: Graphs, Charts and Tables - Describing Your Data By Groebner, Shannon, Fry, & Smith Prentice-Hall Publishing Company Copyright, 2008

2 Chapter 2 Excel 2003 Examples
Frequency Distributions - Athletic Shoe Survey Histograms- Capital Credit Union Joint Frequency Distributions- Joint Relative Frequencies- More Examples

3 Chapter 2 Excel Examples (continued)
Bar Charts- Bach, Lombard & Wilson Line Charts- McGregor Vineyards Scatter Diagrams- Personal Computers

4 Frequency Distributions Athletic Shoe Survey
Issue: Analyze the data from a survey of 100 college students regarding the number of Nike shoes they own. Objective: Use Excel to develop a frequency distribution for the number of Nike shoes owned by college students. Data File is SportShoes.xls

5 Frequency Distributions-Athletic Shoe Survey
Open the Excel file called SportShoes.xls File contains 100 observations - Last row is Column E contains the Number of Nike Shoes Owned

6 Frequency Distributions-Athletic Shoe Survey
Enter Possible Number of Shoes Owned

7 Frequency Distributions-Athletic Shoe Survey
Highlight range of cells to hold frequency counts

8 Frequency Distributions-Athletic Shoe Survey
Click on (function wizard) Select Statistical option Select Frequency function

9 Frequency Distributions-Athletic Shoe Survey
Enter the cells containing the data Last Step -- Press Ctrl -Shift - Enter Don’t Press OK Enter the cells containing the possible values for the variable

10 Frequency Distributions-Athletic Shoe Survey
Resulting Frequency Counts

11 Histograms Capital Credit Union
Issue: Analyze credit card balances for Capital Credit Union customers using a frequency distribution and histogram. Objective: Use Excel to develop a frequency distribution and histogram for credit card balances. Use ten class intervals. Data file is Capital.xls

12 Histograms-Capital Credit Union
Open the Excel file called Capital.xls File contains 300 observations - Last row is Column B contains the balances

13 Histograms-Capital Credit Union
Use Excel Max function to determine largest value

14 Histograms-Capital Credit Union
Use Excel Min function to determine largest value

15 Histograms-Capital Credit Union
Compute Class Width Round Up to $150.00 $90 to less than $240 $240 to less than $ Class Intervals $390 to less than $540 etc….

16 Histograms-Capital Credit Union
Construct the Bins (the upper limit of each class.

17 Histograms-Capital Credit Union
Select Tools and Data Analysis

18 Histograms-Capital Credit Union
Select the Histogram option

19 Histograms-Capital Credit Union
Complete the Histogram Wizard - Note, check Chart Output. Placing output on a new worksheet is optional.

20 Histograms-Capital Credit Union
This is Excel’s Default Output. You need to make some modifications to make it acceptable for most applications.

21 Histograms-Capital Credit Union
Select the graph by clicking it. Note, the points on the graph boarder indicate it has been selected. Enlarge Graph by dragging from lower right corner down and to the right.

22 Histograms-Capital Credit Union
Histograms should have no gaps between the bars! Select the bars on the graph by clicking on any bar - then right click.

23 Histograms-Capital Credit Union
Click on Selected Object

24 Histograms-Capital Credit Union
Click on Options tab

25 Histograms-Capital Credit Union
Set Gap Width to 0 to close the gaps between the bars - click OK

26 Histograms-Capital Credit Union
Label the Graph Variable – Select the “Bin” Label and type desired label. Press the Enter key.

27 Histograms-Capital Credit Union
The legend is not needed. Select it and press the delete key

28 Histograms-Capital Credit Union
2. Select the horizontal axis line 1. Enter Correct Group Labels 3. Select Format Axis

29 Histograms-Capital Credit Union
Select Font and make desired changes.

30 Histograms-Capital Credit Union
Select Alignment and make desired changes.

31 Histograms-Capital Credit Union
Select the “More” row and press the Delete key

32 Histograms-Capital Credit Union
You can make other modifications to the histogram – color, labels, size, etc.

33 Joint Frequency Distributions Capital Credit Union
Issue: Analyze the credit card balances by gender of the card holder. Objective: Use Excel to develop a joint frequency distribution for the credit card balances by gender. Data File is Capital.xls

34 Joint Frequency Distributions-Capital Credit Union
Open the Excel file called Capital.xls File contains 300 observations - Last row is Column B contains the balances – Column C contains the gender codes

35 Joint Frequency Distributions-Capital Credit Union
2. Select Data and Pivot Table and Pivot Chart Report 1. Place cursor in any data cell.

36 Joint Frequency Distributions-Capital Credit Union
Click on Next

37 Joint Frequency Distributions-Capital Credit Union
Make sure that the data range is correct and then click on Next

38 Joint Frequency Distributions-Capital Credit Union
We recommend putting the pivot table on a new worksheet Click Options

39 Joint Frequency Distributions-Capital Credit Union
Select desired Options

40 Joint Frequency Distributions-Capital Credit Union
Click Layout

41 Joint Frequency Distributions-Capital Credit Union
Drag Balance to row and Gender to column. To get frequency count, drag any variable to the Data area.

42 Joint Frequency Distributions-Capital Credit Union
We want a frequency count, not a sum. Double click on column.

43 Joint Frequency Distributions-Capital Credit Union
Select Count - Click OK

44 Joint Frequency Distributions-Capital Credit Union
Click OK

45 Joint Frequency Distributions-Capital Credit Union
Click Finish

46 Joint Frequency Distributions-Capital Credit Union
Joint Frequency Distribution. However, we need to group the balance variable to gain information.

47 Joint Frequency Distributions-Capital Credit Union
Place cursor in any balance cell. Then right click.

48 Joint Frequency Distributions-Capital Credit Union
Select Group and Outline – then select Group

49 Joint Frequency Distributions-Capital Credit Union
By: is the group width. Change to 150 – click on OK

50 Joint Frequency Distributions-Capital Credit Union
Completed Joint Frequency Distribution

51 Joint Relative Frequencies Capital Credit Union
Objective: Use Excel to develop a joint relative frequency distribution for the credit card balances by gender. Data File is Capital.xls Note: See Previous Example for Beginning Pivot Table Instructions.

52 Joint Relative Frequencies-Capital Credit Union
Place Cursor in any cell in the table – Right Click – select Pivot Table Wizard.

53 Joint Relative Frequencies-Capital Credit Union
Select Layout

54 Joint Relative Frequencies-Capital Credit Union
Double Click on Data field

55 Joint Relative Frequencies-Capital Credit Union
Click on Options

56 Joint Relative Frequencies-Capital Credit Union
Click of % of Total in Show data as area – then OK

57 Joint Relative Frequencies-Capital Credit Union
Click OK

58 Joint Relative Frequencies-Capital Credit Union
Click Finish

59 Joint Relative Frequencies-Capital Credit Union
Completed Joint Relative Frequency Distribution

60 Bar Charts Bach, Lombard, & Wilson
Issue: An electronics company is being sued on the grounds that female new hires are paid less than male new hires. The law firm needs to analyze salary data to prepare the case. Objective: Use Excel to develop bar charts for the starting salary data for males and females. Data File is Bach.xls

61 Bar Charts-Bach, Lombard & Wilson
Open the Excel file called Bach.xls

62 Bar Charts-Bach, Lombard & Wilson
Select Chart Wizard. Select Column Option Select the data in Columns A-C.

63 Bar Charts-Bach, Lombard & Wilson
Select Series tab Define X-axis range (Years) Remove Years Variable from Graph

64 Bar Charts-Bach, Lombard & Wilson
Series 2 = Males Series 3 = Females Enter labels for Groups

65 Bar Charts-Bach, Lombard & Wilson
Enter Chart Titles and Make other desired format changes

66 Bar Charts-Bach, Lombard & Wilson
Completed Bar Chart – Males have higher starting salaries each year.

67 Bar Charts- Bach, Lombard, & Wilson (continued)
Issue: An electronics company is being sued on the grounds that female new hires are paid less than male new hires. The law firm needs to analyze salary data to prepare the case. Objective: Use Excel to develop bar chart for the average starting salary of males and females hired with and without MBA’s. Data File is Bach.xls

68 Bar Charts-Bach, Lombard & Wilson
Click on Chart Wizard. Select Bar option Select Data from Columns G - J

69 Bar Charts-Bach, Lombard & Wilson
Enter Chart Titles and Make other desired format changes

70 Bar Charts-Bach, Lombard & Wilson
To Modify Colors, Select the bars, Right Click – Choose Selected Object, then Click Options, Select Vary Colors by Point

71 Bar Charts-Bach, Lombard & Wilson
To Show the data values on the bars, select Data Labels – click Show value.

72 Bar Charts-Bach, Lombard & Wilson
Completed Bar Chart – Females with MBA’s paid higher than males on Average

73 Line Charts- McGregor Vineyards
Issue: Analyze the sales and profits data over time. Objective: Use Excel to develop line charts for weekly sales and profits. Data File is McGregor.xls

74 Line Charts-McGregor Vineyards
Open the Excel file called McGregor.xls File contains 20 weeks of historical data - last row is 21

75 Line Charts-McGregor Vineyards
Click on Chart Wizard Highlight the variable (Sales) to graphed.

76 Line Charts-McGregor Vineyards
Select Line chart type and desired sub-type – then click on Next

77 Line Charts-McGregor Vineyards
Click on Series Tab – Enter data range containing the X-axis labels – then Next

78 Line Charts-McGregor Vineyards
Add Titles –remove legend, etc.

79 Line Charts-McGregor Vineyards
Determine location for graph.

80 Line Charts-McGregor Vineyards
Optionally, to remove/change background color, select the graph – right click – select Format Plot Area

81 Line Charts-McGregor Vineyards
To remove background, set Boarder and Area to None

82 Line Charts-McGregor Vineyards
Finished Line Chart for Sales – Now repeat the process for the Profit Variable.

83 Line Charts-McGregor Vineyards
Completed - Two individual line graphs. Next, graph both variables on the one line graph

84 Line Charts-McGregor Vineyards
Highlight both variables – click on the Chart Wizard

85 Line Charts-McGregor Vineyards
Select Line chart type and desired sub-type – then click on Next

86 Line Charts-McGregor Vineyards
Click on Series Tab – Enter data range containing the X-axis labels – then Next

87 Line Charts-McGregor Vineyards
Add Titles –remove grid-lines, etc.

88 Line Charts-McGregor Vineyards
Determine location for graph.

89 Line Charts-McGregor Vineyards
Completed Line chart with two variables graphed - Notice the scale problem. We need to develop a line chart with two vertical scales

90 Line Charts-McGregor Vineyards
Select the chart – right click – select Chart Type

91 Line Charts-McGregor Vineyards
Click on Custom Types – then select Lines on 2 Axis – click OK

92 Line Charts-McGregor Vineyards
Completed Line graph – Need to add labels

93 Line Charts-McGregor Vineyards
Select entire chart – right click – select Chart Options

94 Line Charts-McGregor Vineyards
Add Titles

95 Line Charts-McGregor Vineyards
Completed Line Chart with Two Variables and Two Axes.

96 Scatter Diagrams- Personal Computers
Issue: Analyze the relationship between PC sales price and the processing speed of the PC Objective: Use Excel to develop a scatter diagram for PC price and speed. Data File is Personal Computers.xls

97 Scatter Diagrams- Personal Computers
Open the Excel file called Personal Computers.xls File contains data for 13 PC’s

98 Scatter Diagrams- Personal Computers
Highlight the data making sure to include the variables to be graphed.

99 Scatter Diagrams- Personal Computers
Click on the Chart Wizard and then select XY (Scatter) the Next

100 Scatter Diagrams- Personal Computers
Click Next

101 Scatter Diagrams- Personal Computers
Enter Titles, remove grid lines and legend – then click on Next

102 Scatter Diagrams- Personal Computers
Specify Location for the Graph – then click Next

103 Scatter Diagrams- Personal Computers
Completed Scatter Diagram


Download ppt "Guide to Using Excel 2003 For Basic Statistical Applications"

Similar presentations


Ads by Google