Гистограммы
Введено| English | Значение |
|---|---|
| histogram/ˈhɪstəɡræm/ | гистограмма |
| frequency density/ˈfriːkwənsi ˈdensɪti/ | плотность частоты |
| class width/klæs wɪtθ/ | шаг класса |
When bar widths matter
- A bar chart always has equal-width bars. But what if your data classes have different widths?
- A histogram 直方图 solves this: the area (not the height) of each bar represents the frequency.
Гистограмма плотности частоты
With unequal class widths the bar height is frequency density, so the area (not the height) represents the frequency.
Frequency density 频数密度
- When class widths 组距 vary, the vertical axis shows frequency density:
Frequency $25$, class width $10$: density $= \dfrac{25}{10} = 2.5$.
Height $\neq$ frequency. In a histogram with unequal widths, a tall narrow bar might represent fewer data points than a short wide bar. It's the area ($= \text{density} \times \text{width} = \text{frequency}$) that counts.
A class has frequency 25 and class width 10. Find the frequency density.
Сложность 2/5 · 140 монет + небольшой бонус за первое завершение сегодня
25 ÷ 10 = 2.5.
On a histogram, the frequency is shown by each bar's:
Сложность 1/5 · 100 монет + небольшой бонус за первое завершение сегодня
With unequal widths, area (not height) represents frequency.
A class has frequency 30 and class width 5. Find the frequency density.
Сложность 2/5 · 140 монет + небольшой бонус за первое завершение сегодня
30 ÷ 5 = 6.
In a histogram with unequal class widths, the tallest bar always has the highest frequency.
Сложность 1/5 · 100 монет + небольшой бонус за первое завершение сегодня
A tall narrow bar might have a smaller area (and thus lower frequency) than a short wide bar.
Worked examples
- Frequency $25$, width $10$ → density $= 2.5$.
- Frequency $30$, width $5$ → density $= 6$.
- Frequency $40$, width $20$ → density $= 2$.
A histogram bar has frequency density 4 and class width 8. What is the frequency?
Сложность 2/5 · 140 монет + небольшой бонус за первое завершение сегодня
Frequency = density × width = 4 × 8 = 32.
Reading a histogram
- To find the frequency of a class: $\text{density} \times \text{width} = \text{frequency}$.
- To compare classes: look at the area of each bar, not the height.
When all classes have the same width, a histogram looks like a normal ______ chart.
Сложность 1/5 · 100 монет + небольшой бонус за первое завершение сегодня
With equal widths, frequency density is proportional to frequency, so it resembles a bar chart.
Why histograms look like bar charts
- When all classes have the same width, the density is proportional to the frequency — so the histogram looks like a normal bar chart.
- Use a labelled frequency-density axis consistently, including when all class widths are equal.
Reconstruct a whole histogram
- Classes $0\le x<5,5\le x<15,15\le x<35$ have frequencies 10,30,20. Widths 5,10,20 give heights $D=f/w=2,3,1$; draw touching bars over their actual intervals.
- Reverse the method for a missing frequency: width 8 and density 2.5 give $f=Dw=2.5(8)=20$. The tallest bar need not hold the most observations if widths differ.
A histogram bar has width 8 and density 2.5. Find its frequency.
Сложность 2/5 · 140 монет + небольшой бонус за первое завершение сегодня
Frequency = density × width = 2.5 × 8 = 20.
Worked example: read a histogram and estimate part of a class
A histogram of times $t$ (minutes) has these bars:
| Class | Width | Frequency density | Frequency $=$ density $\times$ width |
|---|---|---|---|
| $0 \le t < 10$ | 10 | 1.5 | 15 |
| $10 \le t < 15$ | 5 | 6 | 30 |
| $15 \le t < 30$ | 15 | 2 | 30 |
- Total $= 15 + 30 + 30 = 75$ people.
- Estimate how many took between 20 and 30 minutes. That is part of the last bar: width $30 - 20 = 10$, so $10 \times 2 = 20$ people.
- The middle bar is the tallest, but it holds the same number (30) as the wider last bar: compare areas.
A histogram bar for 40 ≤ m < 60 has frequency density 1.8. Estimate how many values lie between 40 and 50.
Сложность 2/5 · 140 монет + небольшой бонус за первое завершение сегодня
Width 50 − 40 = 10; 10 × 1.8 = 18.
Bars: 0 ≤ x < 4 with density 5, and 4 ≤ x < 10 with density 3. Find the total frequency.
Сложность 2/5 · 140 монет + небольшой бонус за первое завершение сегодня
4 × 5 = 20 and 6 × 3 = 18, so 20 + 18 = 38.
You've got it
- in a histogram, the area of a bar $=$ frequency (widths can differ)
- vertical axis $=$ frequency density $= \dfrac{\text{frequency}}{\text{class width}}$
- frequency $25$, width $10$ → density $2.5$
Write from the data: find the density
- A class has frequency 24 and class width 6.
- Find the frequency density.
A class has frequency 24 and class width 6. What is the frequency density?
24 divided by 6 is 4.
What is the frequency density?
Сложность 1/5 · 100 монет + небольшой бонус за первое завершение сегодня
Frequency divided by width is 4. Other options — 2.5 (the lesson density); 24 (the frequency).