Histogram density and cumulative-frequency construction · Higher
Introduzido| English | Significado |
|---|---|
| frequency density/ˈfriːkwənsi ˈdensɪti/ | densidade de frequência |
The four-hour target
- Since 2004, hospitals in England have aimed to see most emergency patients within four hours. Waiting times are published in groups of different widths — 0–1 hour, 1–2 hours, 2–4 hours, more than 4 hours — so a fair picture needs a histogram drawn with frequency density.
- Higher questions build histograms and cumulative frequency graphs, and read medians from them.
Building the histogram
- Classes $0 \le x < 10$, $10 \le x < 20$, $20 \le x < 40$ with frequencies 20, 30, 20.
- Widths 10, 10, 20 → frequency density 频率密度 2, 3, 1. The last bar is shorter, but its area is still 20.
Classes 0–5: 10, 5–10: 25, 10–20: 30. What are the frequency densities?
Dificuldade 1/5 · Moedas 100 + pequeno bônus na primeira conclusão hoje
Divide by widths 5, 5, 10.
Building the cumulative frequency
- Running totals: 20, 50, 70. Plot at the upper class boundaries: $(10, 20)$, $(20, 50)$, $(40, 70)$, starting from $(0, 0)$.
- Join with straight lines or a smooth curve.
Where is the cumulative frequency for the class 10–20 plotted?
Dificuldade 1/5 · Moedas 100 + pequeno bônus na primeira conclusão hoje
Upper boundary.
Worked example: the median
Estimate the median of the 70 values above.
- Position: half of 70 is 35.
- Class: the cumulative total passes 35 in $10 \le x < 20$ (from 20 to 50).
- Interpolate: $10 + \dfrac{35 - 20}{30} \times 10 = 10 + 5 = 15$.
Histogram density and cumulative-frequency construction
Use continuous adjoining class boundaries on the horizontal axis
Classify the worked-case statements, then explain the units or invariant that justifies each decision.
Cumulative frequencies: 20 at 10, 50 at 20, 70 at 40. Estimate the value with cumulative frequency 30.
Dificuldade 2/5 · Moedas 140 + pequeno bônus na primeira conclusão hoje
$10 + \dfrac{10}{30} \times 10$.
Quartiles the same way
- Q1 at 17.5: in the first class, $0 + \dfrac{17.5}{20} \times 10 = 8.75$.
- Q3 at 52.5: in the last class, $20 + \dfrac{52.5 - 50}{20} \times 20 = 22.5$. IQR $\approx 13.75$.
Classes 0–10: 8, 10–20: 16, 20–30: 16 (total 40). Estimate Q3.
Dificuldade 2/5 · Moedas 140 + pequeno bônus na primeira conclusão hoje
Position 30; cumulative 24 after 10–20, so $20 + \dfrac{6}{16} \times 10$.
From a histogram to frequencies
- Frequency = density × width. A bar of height 1.5 over 40–60 holds 30 values.
- Read a table back from the bars before finding any averages.
A histogram bar over 40–60 has height 1.5. How many values does it hold?
Dificuldade 2/5 · Moedas 140 + pequeno bônus na primeira conclusão hoje
1.5 × 20.
Plot cumulative frequency at the upper boundary, not the midpoint. By the end of the 10–20 class, 50 values have been counted. Plotting 50 at 15 shifts every reading to the left.
Cumulative frequency is plotted at the class midpoint.
Dificuldade 1/5 · Moedas 100 + pequeno bônus na primeira conclusão hoje
Upper boundary.
Histogram: density = frequency ÷ width, area = frequency. Cumulative frequency: running totals at upper boundaries from $(0, 0)$. Interpolate within a class to estimate the median and quartiles.
Waiting times (hours): 0–1: 40, 1–2: 60, 2–4: 80, 4–6: 20. Find the frequency densities and estimate the median.
Unequal classes in context.