Quartiles and percentiles from a cumulative frequency curve

Quartiles and percentiles from a cumulative frequency curve

Secondary 4

Quartiles and percentiles from a curve

A cumulative frequency curve for \(n\) values treats the data as spread continuously along the horizontal axis. So the value with half of the data at or below it is read at height \(\dfrac n2\), not \(\dfrac{n+1}2\). In the same way, read the lower quartile \(Q_1\) at \(\dfrac n4\), the upper quartile \(Q_3\) at \(\dfrac{3n}4\) and the \(k\)th percentile \(P_k\) at \(\dfrac{k}{100}n\).

The curve shows the heights of \(120\) seedlings. Here \(\dfrac n4=30\), \(\dfrac n2=60\), \(\dfrac{3n}4=90\) and \(\dfrac{90}{100}\times120=108\).

Readings: median \(12\) cm, \(Q_1=8\) cm, \(Q_3=16\) cm, so the interquartile range is \(16-8=8\) cm. The \(90\)th percentile is \(20\) cm: about \(10\%\) of the seedlings are taller than \(20\) cm.

Method

  1. Find the total \(n\) from the top of this curve.
  2. Work out the height needed: \(\dfrac n4\), \(\dfrac n2\), \(\dfrac{3n}4\) or \(\dfrac k{100}n\).
  3. Go across from that height to the curve, then down to the horizontal axis, and read the value.
  4. For “the top \(20\%\)” or “a probability of more than \(t\)”, first change it into “at or below”: the top \(20\%\) starts at \(P_{80}\), read at \(0.8n\).

Two conventions side by side

MeasureDiscrete data (an ordered list of \(n\) values)Cumulative frequency curve (\(n\) values)
Medianmiddle value, or the mean of the two middle values (position \(\tfrac{n+1}2\))read at height \(\tfrac n2\)
Lower quartile \(Q_1\)median of the lower half; leave out the median when \(n\) is oddread at \(\tfrac n4\)
Upper quartile \(Q_3\)median of the upper half; leave out the median when \(n\) is oddread at \(\tfrac{3n}4\)
\(k\)th percentilenot used for short listsread at \(\tfrac k{100}n\)
Interquartile range\(Q_3-Q_1\)\(Q_3-Q_1\) (an estimate)
Rangelargest value minus smallest valueend of the curve minus start of the curve: only an estimate, because the class boundaries need not be actual values

Checks and common errors

  • Use this curve’s own total: for \(n=120\) the median is read at height \(60\). If the vertical axis goes above the total, do not read halfway up the axis.
  • \(P_{25}=Q_1\), \(P_{50}\) is the median and \(P_{75}=Q_3\).
  • A count “more than” a value is \(n\) minus the reading at that value.
  • The interquartile range is the spread of the middle half of the data, between the lower quartile and the upper quartile.

Need help? Join our E-Maths tuition for O-Level success.

Learn more