Draw a histogram so each bar's area is its frequency
Histograms are on the Higher tier only. They show grouped data without a wide class looking too big.
Histogram
A histogram is a chart of grouped data in which each bar's area represents the frequency of its class.
The height of each bar is its frequency density.
Frequency density
Frequency density is the frequency of a class per unit of class width.
A class a quarter as wide needs a bar four times as tall for the same frequency.
frequency density=frequencyclass width \text{frequency density} = \frac{\text{frequency}}{\text{class width}} frequency density=class widthfrequencyThe class width is the upper class boundary minus the lower. With equal class widths, heights are in proportion to frequencies.
To draw a histogram:
- Write each class width beside the table, then use the formula for each bar's height.
- Label the vertical axis frequency density, and scale both axes.
- Draw each bar over its class boundaries, with no gaps.
Wrong. The class 20<m≤30{20 < m \le 30}20<m≤30 has frequency 24, so its frequency density is 24÷30=0.8.{24 \div 30 = 0.8\text{.}}24÷30=0.8.
Right. Divide by the class width, 30−20=10,{30 - 20 = 10\text{,}}30−20=10, not the upper boundary or the midpoint, so the frequency density is 24÷10=2.4.{24 \div 10 = 2.4\text{.}}24÷10=2.4.
Find frequencies from bar areas to read or complete a histogram
A bar's frequency is its area, so multiply its frequency density by its class width.
Equal areas give equal frequencies, even when one bar is twice as tall.
Wrong. The bar over 10<t≤15{10 < t \le 15}10<t≤15 has height 6, so its frequency is 6.
Right. The height is frequency density, not frequency, so the frequency is the area, 6×(15−10)=30.{6 \times (15 - 10) = 30\text{.}}6×(15−10)=30.
With no numbers on the axis, squares still give one bar's frequency in terms of another's, and the total once one bar's frequency is known.
Comparing bar areas
A histogram's three bars cover 10, 16 and 6 squares, and the first holds 25 values. Find the total, and the second bar's frequency in terms of the third bar's frequency, f.{f\text{.}}f.
- One square is 25÷10=2.5{25 \div 10 = 2.5}25÷10=2.5 values, so the total is (10+16+6)×2.5=32×2.5=80.{(10 + 16 + 6)} \times 2.5 = 32 \times 2.5 = 80\text{.}(10+16+6)×2.5=32×2.5=80.
- The second bar has 166=83{\dfrac{16}{6} = \dfrac{8}{3}}616=38 times the third bar's squares, so its frequency is 83f.{\dfrac{8}{3}f\text{.}}38f.
To complete a histogram, divide each missing frequency by its class width.
Completing a histogram and a pie chart angle
A histogram of 120 parcel masses, m kg,{m\ \text{kg,}}m kg, has bars over 0<m≤2{0 < m \le 2}0<m≤2 and 4<m≤8{4 < m \le 8}4<m≤8 at frequency densities 12 and 9. The bars for 2<m≤4,{2 < m \le 4\text{,}}2<m≤4, which holds 25% of the parcels, and 8<m≤14{8 < m \le 14}8<m≤14 are missing. Find their heights and the pie chart angle for 0<m≤2.{0 < m \le 2\text{.}}0<m≤2.
- The known bars hold 12×2=24{12 \times 2 = 24}12×2=24 and 9×4=36{9 \times 4 = 36}9×4=36 parcels.
- 2<m≤4{2 < m \le 4}2<m≤4 holds 0.25×120=30{0.25 \times 120 = 30}0.25×120=30 parcels, so its height is 30÷2=15.{30 \div 2 = 15\text{.}}30÷2=15.
- 8<m≤14{8 < m \le 14}8<m≤14 holds the rest, 120−24−36−30=30{120 - 24 - 36 - 30 = 30}120−24−36−30=30 parcels, so its height is 30÷(14−8)=5.{30 \div (14 - 8) = 5\text{.}}30÷(14−8)=5.
- The pie chart angle is 24120×360∘=72∘.{\dfrac{24}{120} \times 360^\circ = 72^\circ\text{.}}12024×360∘=72∘.
Split a bar by width to estimate a fraction or a statistic
Values are assumed to be spread evenly across a class, so part of a bar's width holds the same fraction of its frequency.
Only the shaded share of each bar that the range cuts is counted.
This fraction is also the estimated probability of a random value lying in the range.
Write every frequency density and frequency as a calculation, as working can earn marks even after a slip. Give the fraction or probability asked for, not the count, and round last.
A quartile or cut-off works backwards, since within one bar a count covers a width of count divided by frequency density. The mean uses class midpoints, as in the guide Averages from Frequency Tables.
Statistics from a histogram
A histogram of 80 sunflower heights, h cm,{h\ \text{cm,}}h cm, has bars over 100<h≤140,{100 < h \le 140\text{,}}100<h≤140, 140<h≤160,{140 < h \le 160\text{,}}140<h≤160, 160<h≤170{160 < h \le 170}160<h≤170 and 170<h≤200{170 < h \le 200}170<h≤200 at frequency densities 0.3, 1.6, 2.4 and 0.4. Estimate the mean, the lower quartile and the height above which the tallest 10% lie.
- The frequencies are 0.3×40=12,{0.3 \times 40 = 12\text{,}}0.3×40=12, 1.6×20=32,{1.6 \times 20 = 32\text{,}}1.6×20=32, 2.4×10=24{2.4 \times 10 = 24}2.4×10=24 and 0.4×30=12.{0.4 \times 30 = 12\text{.}}0.4×30=12.
- With midpoints 120, 150, 165 and 185, the mean is about 12×120+32×150+24×165+12×18580=1242080=155.25 cm.\dfrac{12 \times 120 + 32 \times 150 + 24 \times 165 + 12 \times 185}{80} = \dfrac{12420}{80} = 155.25\ \text{cm.}8012×120+32×150+24×165+12×185=8012420=155.25 cm.
- The lower quartile is the 80÷4=20th{80 \div 4 = 20\text{th}}80÷4=20th height, 20−12=8{20 - 12 = 8}20−12=8 heights into 140<h≤160.{140 < h \le 160\text{.}}140<h≤160. These cover 8÷1.6=5 cm,{8 \div 1.6 = 5\ \text{cm,}}8÷1.6=5 cm, so it is about 140+5=145 cm.{140 + 5 = 145\ \text{cm.}}140+5=145 cm.
- The tallest 0.1×80=8{0.1 \times 80 = 8}0.1×80=8 sunflowers cover 8÷0.4=20 cm{8 \div 0.4 = 20\ \text{cm}}8÷0.4=20 cm below the top of the last bar, so they lie above about 200−20=180 cm.{200 - 20 = 180\ \text{cm.}}200−20=180 cm.
Each answer is an estimate, since values may not be spread evenly.
- Why does a histogram with unequal class widths plot frequency density, not frequency?
- How do you find frequencies when the frequency density axis has no numbers?
What is the frequency density of a class 25<x≤40{25 < x \le 40}25<x≤40 with frequency 27?
Solution
1.8
If 32 of 80 values lie in 0<t≤20,{0 < t \le 20\text{,}}0<t≤20, what is the estimated probability that a value chosen at random from the 80 lies in 5<t≤20?{5 < t \le 20\text{?}}5<t≤20?
Solution
310{\dfrac{3}{10}}103