Steply

Frequency density: 0-20: 10, 20-30: 15, 30-50: 6

Step by step, with the reason for every step · Histograms with unequal class widths · Statistics

Step by step

The question

Question: draw the histogram for 0-20: 10, 20-30: 15, 30-50: 6.

frequency density: 0-20: 10, 20-30: 15, 30-50: 6

The classes are not the same width.

So the bars cannot just be as high as the frequency.

1 Class widths

A table: each class and its frequency.

The width of a class is its end minus its start: 20, 10, 20.

2 Frequency density

Frequency density is the frequency divided by the width: 10 ÷ 20 = 0.5, 15 ÷ 10 = 1.5, 6 ÷ 20 = 0.3.

The rule for the height of each bar.

frequency density = frequencyclass width

Careful!

With different widths, a wide bar as high as its frequency would look too big.

Its area must be the frequency.

Careful: bar height = frequency density, not frequency

3 Draw the bars

Across: the classes.

Up: the frequency density.

Each bar goes across its whole class and up to its density: 0.5 for the first.

Now the area of each bar shows its frequency.

4 Check

Let's check: width times height gives back each frequency: 10, 15, 6.

So the bars are right!

20 × 0.5 = 10, 10 × 1.5 = 15, 20 × 0.3 = 6

Let's look back.

First: class widths.

Then: frequency density.

Then: draw the bars.

Last: check.

Answer
frequency density = frequencyclass width

Your turn

Try this one yourself, then check:

frequency density: 0-20: 16, 20-30: 3, 30-50: 16
Show the answer
heights 0.8, 0.3, 0.8

More from Histograms with unequal class widths

The whole lesson: Histograms with unequal class widths →