Mathematics Topic

Cumulative Frequency Curves (Ogives)

  1. Read notes
  2. Flashcards
  3. Quiz
  4. Confident

Study focus - 3 things

  1. A cumulative frequency table is a running total of the class frequencies; the last total is the number of values, and each total is plotted at the UPPER class boundary of its class
  2. The ogive starts at the lowest lower class boundary with cumulative frequency 0 and never goes down; choose scales so the horizontal axis covers all the class boundaries and the vertical axis runs from 0 to the total
  3. Read the median at the cumulative frequency n ÷ 2 and the quartiles at n ÷ 4 and 3n ÷ 4: across to the curve, then down to the axis; readings are estimates

Visual notes

Cumulative frequency curve of 40 quiz scores
An ogive for the quiz scores of 40 contestants. The curve starts at the point (9.5, 0) and passes through (19.5, 1), (29.5, 13), (39.5, 27), (49.5, 37) and (59.5, 40), joined by straight lines. Dashed lines read across from the cumulative frequencies 10, 20 and 30 and down to the horizontal axis: the lower quartile is 27, the median is 34.5 and the upper quartile is 42.5.

Each point sits at an upper class boundary, level with the running total up to that class. The dashed lines show the readings of Q1, the median and Q3.

Section 1The cumulative frequency table

A cumulative frequency is the number of values up to the end of a class. Build it by adding the frequencies down the table as a running total. Take 40 quiz scores (whole numbers) grouped as 10 - 19 (1 contestant), 20 - 29 (12), 30 - 39 (14), 40 - 49 (10) and 50 - 59 (3). The running totals are 1, 13, 27, 37, 40. The last total must equal the number of values, here 40, so it is a quick check on your adding. Write the class boundaries beside the totals, because the boundaries are what you will plot.

Section 2Plotting the points

Each cumulative frequency is plotted against the upper class boundary of its class, because the total counts every value up to the end of that class. The class 10 - 19 has the upper boundary 19.5, so its point is (19.5, 1). The class 20 - 29 gives (29.5, 13), the class 30 - 39 gives (39.5, 27), the class 40 - 49 gives (49.5, 37) and the class 50 - 59 gives (59.5, 40). Add a starting point at the lowest lower boundary with cumulative frequency 0: (9.5, 0), since no scores lie below the first class. Plotting at the limits (19, 29, ...) or at midpoints is a mistake.

Section 3Choosing scales

Draw the horizontal axis so that it covers every class boundary, from 9.5 to 59.5 in this example, with equal spacing for equal differences, and mark the boundaries or a sensible step such as every 10. Draw the vertical axis from 0 up to at least the total frequency, 40, with an even step such as 5. Do not stop the vertical axis at the largest class frequency, which would cut the curve off, and do not start it above 0, because the curve begins at 0. Give each axis a label.

Section 4Drawing the curve

Join the points from left to right, either with a smooth curve or with straight segments. The cumulative frequency can only stay level or rise, so the curve never goes down. A steep part of the curve means many values fall in that class, because the total rises quickly there. A flat part means few values. In the example the steepest part is over the class 30 - 39, which has the highest frequency, 14. Because the exact values are not known, every reading from the curve is an estimate.

Section 5Reading the median and quartiles

For n values, find the cumulative frequency n ÷ 4 for the lower quartile, n ÷ 2 for the median and 3n ÷ 4 for the upper quartile. Locate that number on the vertical axis, go across to the curve, then straight down to the horizontal axis and read the value. With n = 40 the heights are 10, 20 and 30. The readings are Q1 = 27, median = 34.5 and Q3 = 42.5. The interquartile range is 42.5 - 27 = 15.5 and the semi-interquartile range is 15.5 ÷ 2 = 7.75. A reading from a hand-drawn graph will be a little different, so answers close to these are accepted.

Section 6Reading the other way, and what the table gives

You can also start on the horizontal axis. Go up from a score to the curve and across to the vertical axis to read how many values are below that score. From the point (39.5, 27) to (49.5, 37), a score of 44.5 is halfway across, so the curve reads halfway between 27 and 37, which is 32 values below 44.5. The estimated range is the highest boundary minus the lowest boundary, 59.5 - 9.5 = 50. The mean and the modal class are not read from the curve; they come from the frequency table with class midpoints.

Examples

The quiz scores (whole numbers) of 40 contestants are grouped: 10 - 19 (1 contestant), 20 - 29 (12), 30 - 39 (14), 40 - 49 (10) and 50 - 59 (3). (a) Build the cumulative frequency table with the class boundaries. (b) State the points plotted for the ogive. (c) Read the median and the quartiles from the curve, and find the interquartile range and the semi-interquartile range.

(a) The running totals of the frequencies 1, 12, 14, 10, 3 are 1, 13, 27, 37, 40, and the last total 40 is the number of contestants. The upper boundaries of the classes are 19.5, 29.5, 39.5, 49.5 and 59.5. (b) The curve starts at (9.5, 0) and passes through (19.5, 1), (29.5, 13), (39.5, 27), (49.5, 37) and (59.5, 40), joined by straight lines. (c) The median is at the cumulative frequency 40 ÷ 2 = 20. It lies between (29.5, 13) and (39.5, 27): 29.5 + (20 - 13) ÷ (27 - 13) × (39.5 - 29.5) = 34.5. Q1 is at 40 ÷ 4 = 10, between (19.5, 1) and (29.5, 13): 19.5 + (10 - 1) ÷ (13 - 1) × (29.5 - 19.5) = 27. Q3 is at 3 × 40 ÷ 4 = 30, between (39.5, 27) and (49.5, 37): 39.5 + (30 - 27) ÷ (37 - 27) × (49.5 - 39.5) = 42.5. IQR = 42.5 - 27 = 15.5 and SIQR = 15.5 ÷ 2 = 7.75. A careful reading within 1 of each value is accepted.

A patty shop records the customers served on each of 60 days (whole numbers): 20 - 24 (6 days), 25 - 29 (8), 30 - 34 (10), 35 - 39 (15), 40 - 44 (12) and 45 - 49 (9). (a) Build the cumulative frequency table and state the points plotted. (b) Read the median, the lower quartile and the upper quartile from the ogive. (c) Find the interquartile range and the semi-interquartile range. (d) Reading the curve at 32, estimate on how many days fewer than 32 customers were served. (e) Over which class is the curve steepest, and what does that show?

(a) The running totals of the frequencies 6, 8, 10, 15, 12, 9 are 6, 14, 24, 39, 51, 60, and the last total 60 is the number of days. The ogive starts at (19.5, 0) and passes through (24.5, 6), (29.5, 14), (34.5, 24), (39.5, 39), (44.5, 51) and (49.5, 60). (b) The median is at 60 ÷ 2 = 30, between (34.5, 24) and (39.5, 39): 34.5 + (30 - 24) ÷ (39 - 24) × (39.5 - 34.5) = 36.5. Q1 is at 60 ÷ 4 = 15, between (29.5, 14) and (34.5, 24): 29.5 + (15 - 14) ÷ (24 - 14) × (34.5 - 29.5) = 30. Q3 is at 3 × 60 ÷ 4 = 45, between (39.5, 39) and (44.5, 51): 39.5 + (45 - 39) ÷ (51 - 39) × (44.5 - 39.5) = 42. (c) IQR = 42 - 30 = 12 customers and SIQR = 12 ÷ 2 = 6 customers. (d) The score 32 lies between (29.5, 14) and (34.5, 24), so the curve reads 14 + (32 - 29.5) ÷ (34.5 - 29.5) × (24 - 14) = 19 days. (e) The curve is steepest over the class 35 - 39, where it rises by 15, the highest frequency, so this is the modal class: the most days had between 35 and 39 customers.

Now let's water it

Session runs notes to flashcards to quiz back-to-back.

Where this comes from