Download presentation
Presentation is loading. Please wait.
Published byLaura Warren Modified over 9 years ago
1
Guide to Using Excel For Basic Statistical Applications To Accompany Business Statistics: A Decision Making Approach, 6th Ed. Chapter 2: Graphs, Charts and Tables - Describing Your Data By Groebner, Shannon, Fry, & Smith Prentice-Hall Publishing Company Copyright, 2005
2
Chapter 2 Excel Examples Frequency Distributions - Frequency Distributions - Athletic Shoe Survey Histograms- Histograms- Capital Credit Union Joint Frequency Distributions- Joint Frequency Distributions- Capital Credit Union Joint Relative Frequencies-Joint Relative Frequencies- Capital Credit Union More Examples
3
Chapter 2 Excel Examples (continued) Bar Charts- Bar Charts- Bach, Lombard & Wilson Line Charts-Line Charts- McGregor Vineyards Scatter Diagrams-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
Open the Excel file called SportShoes.xls File contains 100 observations - Last row is 101 - Column E contains the Number of Nike Shoes Owned Frequency Distributions-Athletic Shoe Survey
6
Enter Possible Number of Shoes Owned Frequency Distributions-Athletic Shoe Survey
7
Highlight range of cells to hold frequency counts Frequency Distributions-Athletic Shoe Survey
8
Click on f X (function wizard) Select Statistical option Select Frequency function Frequency Distributions-Athletic Shoe Survey
9
Enter the cells containing the data Enter the cells containing the possible values for the variable Last Step -- Press Ctrl -Shift - Enter Don’t Press OK Frequency Distributions-Athletic Shoe Survey
10
Resulting Frequency Counts Frequency Distributions-Athletic Shoe Survey
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
Open the Excel file called Capital.xls File contains 300 observations - Last row is 301 - Column B contains the balances Histograms-Capital Credit Union
13
Use Excel Max function to determine largest value Histograms-Capital Credit Union
14
Use Excel Min function to determine largest value Histograms-Capital Credit Union
15
Compute Class Width Round Up to $150.00 $90 to less than $240 $240 to less than $390 Class Intervals $390 to less than $540 etc…. Histograms-Capital Credit Union
16
Construct the Bins (the upper limit of each class. Histograms-Capital Credit Union
17
Select Tools and Data Analysis Histograms-Capital Credit Union
18
Select the Histogram option Histograms-Capital Credit Union
19
Complete the Histogram Wizard - Note, check Chart Output. Placing output on a new worksheet is optional. Histograms-Capital Credit Union
20
This is Excel’s Default Output. You need to make some modifications to make it acceptable for most applications. Histograms-Capital Credit Union
21
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. Histograms-Capital Credit Union
22
Histograms should have no gaps between the bars! Select the bars on the graph by clicking on any bar - then right click. Histograms-Capital Credit Union
23
Click on Selected Object Histograms-Capital Credit Union
24
Click on Options tab Histograms-Capital Credit Union
25
Set Gap Width to 0 to close the gaps between the bars - click OK Histograms-Capital Credit Union
26
The legend is not needed. Select it and press the delete key Histograms-Capital Credit Union
27
Label the Graph Variable – Select the “Bin” Label and type desired label. Press the Enter key. Histograms-Capital Credit Union
28
1. Enter Correct Group Labels 2. Select the horizontal axis line 3. Select Format Axis Histograms-Capital Credit Union
29
Select Font and make desired changes. Histograms-Capital Credit Union
30
Select Alignment and make desired changes. Histograms-Capital Credit Union
31
Select the “More” row and press the Delete key Histograms-Capital Credit Union
32
You can make other modifications to the histogram – color, labels, size, etc. Histograms-Capital Credit Union
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
Open the Excel file called Capital.xls File contains 300 observations - Last row is 301 - Column B contains the balances – Column C contains the gender codes Joint Frequency Distributions-Capital Credit Union
35
1. Place cursor in any data cell. 2. Select Data and Pivot Table and Pivot Chart Report Joint Frequency Distributions-Capital Credit Union
36
Click on Next Joint Frequency Distributions-Capital Credit Union
37
Make sure that the data range is correct and then click on Next Joint Frequency Distributions-Capital Credit Union
38
We recommend putting the pivot table on a new worksheet Click Options Joint Frequency Distributions-Capital Credit Union
39
Select desired Options Joint Frequency Distributions-Capital Credit Union
40
Click Layout Joint Frequency Distributions-Capital Credit Union
41
Drag Balance to row and Gender to column. To get frequency count, drag any variable to the Data area. Joint Frequency Distributions-Capital Credit Union
42
We want a frequency count, not a sum. Double click on column. Joint Frequency Distributions-Capital Credit Union
43
Select Count - Click OK Joint Frequency Distributions-Capital Credit Union
44
Click OK Joint Frequency Distributions-Capital Credit Union
45
Click Finish Joint Frequency Distributions-Capital Credit Union
46
Joint Frequency Distribution. However, we need to group the balance variable to gain information. Joint Frequency Distributions-Capital Credit Union
47
Place cursor in any balance cell. Then right click. Joint Frequency Distributions-Capital Credit Union
48
Select Group and Outline – then select Group Joint Frequency Distributions-Capital Credit Union
49
By: is the group width. Change to 150 – click on OK Joint Frequency Distributions-Capital Credit Union
50
Completed Joint Frequency Distribution Joint Frequency Distributions-Capital Credit Union
51
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 Biginning Pivot Table Instructions. Joint Relative Frequencies Capital Credit Union
52
Place Cursor in any cell in the table – Right Click – select Wizard. Joint Relative Frequencies-Capital Credit Union
53
Select Layout Joint Relative Frequencies-Capital Credit Union
54
Double Click on Data field Joint Relative Frequencies-Capital Credit Union
55
Click on Options Joint Relative Frequencies-Capital Credit Union
56
Click of % of Total in Show data as area – then OK Joint Relative Frequencies-Capital Credit Union
57
Click OK Joint Relative Frequencies-Capital Credit Union
58
Click Finish Joint Relative Frequencies-Capital Credit Union
59
Completed Joint Relative Frequency Distribution Joint Relative Frequencies-Capital Credit Union
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
Open the Excel file called Bach.xls Bar Charts-Bach, Lombard & Wilson
62
Select the data in Columns A-C. Select Chart Wizard. Select Column Option Bar Charts-Bach, Lombard & Wilson
63
Define X- axis range (Years) Remove Years Variable from Graph Select Series tab Bar Charts-Bach, Lombard & Wilson
64
Enter labels for Groups Series 2 = Males Series 3 = Females Bar Charts-Bach, Lombard & Wilson
65
Enter Chart Titles and Make other desired format changes Bar Charts-Bach, Lombard & Wilson
66
Completed Bar Chart – Males have higher starting salaries each year. Bar Charts-Bach, Lombard & Wilson
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 charts for the percent of males and females hired with MBA’s. Data File is Bach.xls
68
Select Data from Columns D and E Click on Chart Wizard. Select Bar option Bar Charts-Bach, Lombard & Wilson
69
Define X- axis range (Years) Enter Male and Female Labels for Series 2 and 3 respectively Select Series tab Bar Charts-Bach, Lombard & Wilson
70
Enter Chart Titles and Make other desired format changes Bar Charts-Bach, Lombard & Wilson
71
Completed Bar Chart – More males have MBA’s than do Females. Bar Charts-Bach, Lombard & Wilson
72
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
73
Select Data from Columns G - J Click on Chart Wizard. Select Bar option Bar Charts-Bach, Lombard & Wilson
74
Enter Chart Titles and Make other desired format changes Bar Charts-Bach, Lombard & Wilson
75
To Modify Colors, Select the bars, Right Click – Choose Selected Object, then Click Options, Select Vary Colors by Point Bar Charts-Bach, Lombard & Wilson
76
To Show the data values on the bars, select Data Labels – click Show value. Bar Charts-Bach, Lombard & Wilson
77
Completed Bar Chart – Females with MBA’s paid higher than males on Average Bar Charts-Bach, Lombard & Wilson
78
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
79
Open the Excel file called McGregor.xls File contains 20 weeks of historical data - last row is 21 Line Charts-McGregor Vineyards
80
Highlight the variable (Sales) to graphed. Click on Chart Wizard Line Charts-McGregor Vineyards
81
Select Line chart type and desired sub-type – then click on Next Line Charts-McGregor Vineyards
82
Click on Series Tab – Enter data range containing the X-axis labels – then Next Line Charts-McGregor Vineyards
83
Add Titles –remove legend, etc. Line Charts-McGregor Vineyards
84
Determine location for graph. Line Charts-McGregor Vineyards
85
Optionally, to remove/change background color, select the graph – right click – select Format Plot Area Line Charts-McGregor Vineyards
86
To remove background, set Boarder and Area to None Line Charts-McGregor Vineyards
87
Finished Line Chart for Sales – Now repeat the process for the Profit Variable. Line Charts-McGregor Vineyards
88
Completed - Two individual line graphs. Next, graph both variables on the one line graph Line Charts-McGregor Vineyards
89
Highlight both variables – click on the Chart Wizard Line Charts-McGregor Vineyards
90
Select Line chart type and desired sub-type – then click on Next Line Charts-McGregor Vineyards
91
Click on Series Tab – Enter data range containing the X-axis labels – then Next Line Charts-McGregor Vineyards
92
Add Titles –remove grid- lines, etc. Line Charts-McGregor Vineyards
93
Determine location for graph. Line Charts-McGregor Vineyards
94
Completed Line chart with two variables graphed - Notice the scale problem. We need to develop a line chart with two vertical scales Line Charts-McGregor Vineyards
95
Select the chart – right click – select Chart Type Line Charts-McGregor Vineyards
96
Click on Custom Types – then select Lines on 2 Axis – click OK Line Charts-McGregor Vineyards
97
Completed Line graph – Need to add labels Line Charts-McGregor Vineyards
98
Select entire chart – right click – select Chart Options Line Charts-McGregor Vineyards
99
Add Titles Line Charts-McGregor Vineyards
100
Completed Line Chart with Two Variables and Two Axes. Line Charts-McGregor Vineyards
101
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 Computers.xls
102
Open the Excel file called Computers.xls File contains data for 36 PC’s - last row is 37 Scatter Diagrams- Personal Computers
103
Click on the Chart Wizard and then select XY (Scatter) the Next Highlight the data making sure to include the variables to be graphed. Scatter Diagrams- Personal Computers
104
2. Remove variables in the list that will not be graphed. 1. Click on Series tab 3. Specify data range for X variable (Processor Mz) and Y variable (Price) Scatter Diagrams- Personal Computers
105
Enter Titles, remove grid lines and legend Scatter Diagrams- Personal Computers
106
Specify Location for the Graph Scatter Diagrams- Personal Computers
107
Completed Scatter Diagram Scatter Diagrams- Personal Computers
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.