Frequency density is a way to show how data is spread across intervals of different widths in a histogram. Instead of plotting raw frequencies, you plot frequency density on the vertical axis so that the area of each bar equals the frequency. This makes histograms with unequal class widths comparable. You'll need your grouped frequency table (class intervals and frequencies) and a calculator. This guide walks you through the calculation and common pitfalls.
What You'll Need
- A grouped frequency table with class intervals (e.g., 0–10, 10–20) and their frequencies.
- A calculator or spreadsheet for division.
- Paper and pencil to note intermediate steps.
Step-by-Step
- Identify the class intervals and frequencies. Write down each interval (e.g., 0–10, 10–20) and its corresponding frequency (e.g., 5, 12).
- Find the class width for each interval. Subtract the lower boundary from the upper boundary. For 0–10, width = 10. For 10–20, width = 10. If intervals are like 5–15, width = 10. For continuous data, use the true boundaries (e.g., 0–10 actually means 0 ≤ x < 10, width = 10).
- Divide the frequency by the class width. For each interval, calculate: frequency density = frequency ÷ class width. Example: if frequency is 5 and width is 10, density = 5 ÷ 10 = 0.5.
- Record the frequency density for each interval. Write it next to the interval. This is the value you'll plot on the vertical axis of a histogram.
- Check that the area of each bar equals the frequency (optional). In a histogram, bar area = frequency density × class width. For the example above: 0.5 × 10 = 5, which matches the frequency.
- Use the density to draw or interpret a histogram. Plot frequency density on the y-axis and class intervals on the x-axis. The bar height is the density, and the width is the class width.
Common Mistakes
- Using frequency instead of density. When class widths differ, plotting raw frequency gives a misleading picture because wider bars have larger areas.
- Wrong class width calculation. For intervals like 10–20, width is 10, not 10.5. If you have boundaries like 1.5–2.5, width is 1.0.
- Forgetting to divide. Frequency density is always frequency ÷ width, not width ÷ frequency.
- Mixing up units. If class intervals are in hours, width is in hours, so density is frequency per hour. Keep units consistent.
Tips
- Always write the formula at the top of your work: density = frequency / class width.
- If intervals are unequal (e.g., 0–5, 5–10, 10–20), you must use density to compare bar heights fairly.
- When drawing a histogram, the vertical axis should be labeled “Frequency density” and the horizontal axis with the variable and units.
- Check your answer by multiplying each density by its width – you should get back the original frequency.
Troubleshooting
If your density values seem too small or too large: Recheck the class width. For example, if you have 0–10 and you mistakenly use width = 9, densities will be off. For continuous data, the width is the difference between the true lower and upper limits (e.g., 0–10 has width 10).
If you get a negative density: You likely subtracted the wrong way. Always do upper boundary minus lower boundary. If your class intervals are listed as “10–0” (unusual), flip them.
If your histogram doesn't match the data: Ensure you're plotting density on the y-axis, not frequency. Also verify that the area of each bar equals the frequency – if not, recalculate.
If you have open-ended intervals (e.g., “50 or more”): You cannot calculate a density without a defined width. In such cases, you must assume a reasonable width (e.g., same as the previous interval) or state that density is undefined.
Frequently Asked Questions
Q: What is frequency density in simple terms?
A: It's the frequency per unit width of a class interval. It tells you how concentrated the data is within that interval.
Q: Why do we use frequency density instead of frequency?
A: So that the area of each histogram bar equals the frequency. This allows fair comparison when class widths are unequal.
Q: Can frequency density be a decimal?
A: Yes, it's often a decimal, for example 5 ÷ 10 = 0.5. That's perfectly fine.
Q: What if all class widths are equal?
A: Then frequency density is proportional to frequency, but you still calculate it the same way for consistency.
Q: How do I find the class width from a histogram?
A: Subtract the lower boundary from the upper boundary of a bar. For example, a bar from 0 to 10 has width 10.
Q: Does the total area under a histogram equal the total frequency?
A: Yes, if you sum the areas (density × width) of all bars, you get the total number of data points.