Frequency distributions and histograms
Turn raw delivery times into a frequency and cumulative percentage table and a histogram, and read the histogram's shape.
It opens on
Here are 40 delivery times in hours from Harbor and Pine, written as a stem and leaf plot. Which ten-hour stretch holds the most deliveries: the 20s, the 30s or the 60s?
Why it matters
A column of 40 or 4,000 raw numbers tells a manager nothing until it is grouped; the histogram shows the typical value, the spread and the risky tail at a glance.
Good to know first
- numerical variable
Step by step
From raw data to classes
Choose equal-width classes for a set of raw numbers and place each value in exactly one class.
With n = 40 the square root is 6.3, so we aim for 6 classes. The times run from 22 to 78 hours, a range of 78 − 22 = 56, and 56 / 6 = 9.3.
range = 78 − 22 = 56; 56 / 6 = 9.3
A common mix-up
A value on a class limit can go in either class.
In fact: Each value goes in exactly one class, so decide the limit rule once, lower limit included, and keep it.
The frequency and cumulative table
Build a frequency distribution with relative and cumulative columns and read it for the share of deliveries under a given time.
A common mix-up
Cumulative percent is the same as relative frequency.
In fact: A relative frequency is one class's share, while a cumulative percent adds up every class to that point.
The histogram
Draw a histogram from a frequency table and say how it differs from a bar chart.
Merging the 50 to under 60 and 60 to under 70 classes into one class of width 20 gives a frequency of 5 + 4 = 9.
5 + 4 = 9
A common mix-up
A histogram is a bar chart with a numerical label.
In fact: A histogram's bars sit on a number line and touch, and the class width changes the picture.
Shape and unusual values
Describe a histogram as symmetric or skewed, tell where the mean and median lie, and treat an unusual value with care.
A common mix-up
An outlier is an error to delete.
In fact: An outlier may be a real and important case; check it before deciding, and say what you did.
Try it
Times in a batch run from 12 to 71 hours, a range of 59, and we want 6 classes. What width do you use?Answer
59 / 6 = 9.8, so round up to 10
Hint: Divide the range by the classes
A call centre classes 40 waits as 0 to under 5 minutes: 8, 5 to under 10: 15, 10 to under 15: 12, 15 to under 20: 5. What cumulative percent is reached by the end of the 10 to under 15 class?Answer
35 / 40 = 87.5%
Hint: Add 8, 15 and 12
Describe in one sentence what the histogram says about how long most deliveries take.Answer
Most deliveries take 30 to 40 hours, and fewer take longer
Hint: Say where the tallest bar is
A histogram of customer ages has a long tail to the left. Which is larger, the mean or the median?Answer
The median, since the tail pulls the mean down
Hint: The mean follows the tail
A delivery took exactly 50 hours. Which class does it go in?Answer
50 to under 60, since the lower limit belongs to its own class
