Excel Tutorial (Frequency Distribution, Histogram)

advertisement
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
Chapter 2 Excel
Examples

Frequency Distributions Athletic Shoe Survey
 HistogramsCapital Credit Union
 Joint Frequency DistributionsCapital Credit Union
 Joint Relative FrequenciesCapital Credit Union
More Examples
Chapter 2 Excel Examples (continued)

Bar ChartsBach, Lombard & Wilson
 Line ChartsMcGregor Vineyards
 Scatter DiagramsPersonal Computers
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
Frequency Distributions-Athletic Shoe Survey
Open the Excel file called
SportShoes.xls
File contains 100
observations - Last row
is 102 - Column E
contains the Number of
Nike Shoes Owned
Frequency Distributions-Athletic Shoe Survey
Enter Possible
Number of Shoes
Owned
Frequency Distributions-Athletic Shoe Survey
Highlight range of
cells to hold
frequency counts
Frequency Distributions-Athletic Shoe Survey
Click on
fX (function wizard)
Select Statistical option
Select Frequency function
Frequency Distributions-Athletic Shoe Survey
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
Resulting Frequency
Counts
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
Histograms-Capital Credit Union
Open the Excel file called
Capital.xls
File contains 300
observations - Last row
is 301 - Column B
contains the balances
Histograms-Capital Credit Union
Use Excel Max function
to determine largest
value
Histograms-Capital Credit Union
Use Excel Min function
to determine largest
value
Histograms-Capital Credit Union
Compute Class Width
1493.00  99.00
w
139.4
10
Round Up to $150.00
$90 to less than $240
$240 to less than $390
$390 to less than $540
etc….
Class Intervals
Histograms-Capital Credit Union
Construct the Bins (the upper
limit of each class.
Histograms-Capital Credit Union
Select Tools and Data Analysis
Histograms-Capital Credit Union
Select the Histogram option
Histograms-Capital Credit Union
Complete the Histogram Wizard
- Note, check Chart Output.
Placing output on a new
worksheet is optional.
Histograms-Capital Credit Union
This is Excel’s Default Output.
You need to make some
modifications to make it
acceptable for most applications.
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.
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.
Histograms-Capital Credit Union
Click on Selected Object
Histograms-Capital Credit Union
Click on Options tab
Histograms-Capital Credit Union
Set Gap Width to 0 to
close the gaps between
the bars - click OK
Histograms-Capital Credit Union
The legend is not needed.
Select it and press the delete
key
Histograms-Capital Credit Union
Label the Graph
Variable – Select the
“Bin” Label and type
desired label. Press the
Enter key.
Histograms-Capital Credit Union
2. Select the horizontal
axis line
1. Enter Correct Group
Labels
3. Select Format Axis
Histograms-Capital Credit Union
Select Font and make
desired changes.
Histograms-Capital Credit Union
Select Alignment and
make desired changes.
Histograms-Capital Credit Union
Select the “More” row
and press the Delete key
Histograms-Capital Credit Union
You can make other
modifications to the
histogram – color, labels,
size, etc.
Download