Displaying Descriptive Statistics: Chapter 2 Map
Displaying Descriptive Statistics: Chapter 2 Map
The Data
Analysis
pop-up
menu
should
appear in
the
spreadsheet
2.2 Displaying Quantitative Data
Recall the types of data from Chapter 1:
Types of Data
Qualitative Quantitative
Displaying Displaying
qualitative data quantitative data
is discussed in is discussed in
section 2.3 section 2.2
Constructing a Frequency Distribution
Example:
2
Constructing a Histogram in Excel
3. In the Input Range
text box, highlight the
desired data
4. In the Bin Range text
box, highlight the bin
values (create bins if
not already created
before step 1)
3 6
5. For Output options,
select New 4
Worksheet Ply and
Chart Output
6. Click OK 5
Histograms in Excel
7. Customize the Excel graph to make it more attractive
Symmetric
• the right side is the mirror image
of the left side of the distribution
Not symmetric
Constructing a Frequency Distribution
Using Grouped Quantitative Data
☺
3 to less than 6 minutes 3.21 to less than 6.21 minutes
6 to less than 9 minutes vs. 6.21 to less than 9.21 minutes
9 to less than 12 minutes 9.21 to less than 12.21 minutes
Class Frequencies
Find class frequencies by counting and recording
the number of observations in each class
• this is easier when the data are sorted
Example:
Rules for Classes for Grouped Data
1. Equal-size classes. All classes in the frequency
distribution must be of equal width
2. Mutually exclusive classes. Class boundaries cannot
overlap
3. Include all data values. Make sure all data values are
accounted for in the total row of the frequency distribution
4. Avoid empty classes. It is undesirable for a histogram to
display a class so narrow that there are no observations in it
5. Avoid open-ended classes (if possible). These
violate the first rule of equal class sizes
Constructing a Histogram with
Grouped Quantitative Data
For grouped data, the bins in Excel are the
upper boundary for each class
For continuous data, remove the gaps
between the bars in the histogram:
1. Right-click on any histogram bar to get a pop-
up menu
2. Left-click on Format Data Series
3. In the dialog box, move the Gap Width slide all
the way to the left
4. Close the Format Data Series dialog box
Constructing a Histogram with
Grouped Quantitative Data
Additional formatting issues:
• Use a descriptive title for the graph
• Use descriptive labels for the axes
• Remove the redundant “Frequency” legend
• Remove gaps between bars
The Consequences of
Too Few or Too Many Classes
Wide classes results in few class intervals
• Can obscure important patterns
• Gives a “blocky” distribution graph
• Summarizes the data too much
• Tells us little about the true
distribution shape
Examples
• Age
• Income
• Other discrete data sets containing a wide range
of values
The Polygon
Excel’s COUNTIF
Function Results
Bar Charts
Bar charts are a good tool for displaying
qualitative data that have been organized in
categories
Can be arranged
in a vertical or
horizontal
orientation
Bar Charts
Horizontal bar chart Vertical bar chart
Can display multiple series with clustered bar charts or stacked bar
charts:
Displaying Qualitative Data: Example
Pareto Charts
Contingency
Table
Relative
Contingency
Table
Constructing a Contingency Table in Excel
6. A new worksheet
will be created for
your pivot table
From the Pivot Table Field
List,
a & b. Drag the desired
variable names down
into the Column or Row c
b
Labels boxes, as
a
desired
c. Drag the variable
name to be summarized
down into the Values
box
Constructing a Contingency Table in Excel
|
Figure 2.21C Creating a Pivot Table in Excel (Final Result)
2.5 Stem and Leaf Display
A stem and leaf display splits the data values
into stems (the larger place values) and leaves
(the smaller place value)
By listing all of the leaves to the right of each
stem, we can graphically describe how the data
are distributed
• All the original data points are visible on the display
• Easy to construct by hand
• Provides a histogram-like view of the distribution
Stem and Leaf Display
For this example, use the 10’s digit as the stem
Use the 1’s digit as the leaf
7|8
8|0
Stem and Leaf Display
1. Sort the data from lowest to highest
2. Determine the unique stem values
7, 8, 9 are the different stem values in this example
3. List the stems in a vertical column and then add the leaf
values to the right of the appropriate stem, in ascending
order
7|8 8 9 9 9
8|0 0 0 0 1 1 2 3 3 4 4 4 5 6 7 8
9|0 2 5
Stem and Leaf Display
To get more detail the stems can be split in half
7(5) | 8 8 9 9 9
8(0) | 0 0 0 0 1 1 2 3 3 4 4 4
8(5) | 5 6 7 8
9(0) | 0 2
9(5) | 5
• The stem labeled 7(5) stores all the scores between 75 and 79
• The stem 8(0) stores all the scores between 80 and 84
2.6 Scatter Plots
Dependent
variable
(y-axis)
Figure 2.26A |
Constructing a
Line Chart in
Excel