Lesson 1: From histograms to probability density
Estimate probabilities for egg masses from grouped data
SkillProbabilities from histograms
Worked example
A farm weighed 200 eggs. The results are in the table.
| Mass (g) | |||||
|---|---|---|---|---|---|
| Frequency | 12 | 38 | 70 | 52 | 28 |
Let be the mass of a randomly chosen egg.
(a) Estimate .
(b) Find the heights of the bars for the and classes in a density histogram.
(c) Estimate , assuming masses are spread evenly within each class.
Step 1: Add the relative frequencies for (a)
The classes from 60 g up hold eggs, so .
Step 2: Divide relative frequency by class width for (b)
: relative frequency , width 5, height .
: relative frequency , width 10, height .
In a density histogram the bar's area is the relative frequency. The last class is twice as wide, so its bar must be shorter to keep the area right.
Step 3: Take the right fraction of each class for (c)
The interval covers 3 g of the 5 g class and 2 g of the class . With masses spread evenly:
Spreading evenly within a class means the bar is flat, so the area over part of it is that fraction of the whole bar.
Step 4: Convert to a probability
Answer
(a) (b) heights and per gram (c) about
Try a similar one
A fresh question of the same kind, checked as you answer, with hints and a full solution.
Method
Relative frequency = frequency ÷ total; use it as the probability estimate.
Density = relative frequency ÷ class width; area of a bar = relative frequency.
For part of a class, take the matching fraction of its area.
Watch out for
Comparing frequencies of classes with different widths: compare densities instead.
Forgetting to divide the 62.8 eggs by 200 to make a probability.