UNIHIVE

Study Hub UNIPORT STA 160

STA 160 · Descriptive Statistics

Frequency distributions

Grouping data into classes, class limits and boundaries, and cumulative frequency.

Our notes

1 min read

A frequency distribution is a table showing how often each value (or group of values) occurs.

Ungrouped frequency distribution

For discrete data with few distinct values, list each value with its tally and frequency.
Scores of 20 students in a 5-mark quiz: 3, 4, 2, 5, 3, 4, 4, 1, 3, 5, 2, 4, 3, 4, 5, 3, 2, 4, 3, 4.

ScoreTallyFrequency
1I1
2III3
3IIII II6
4IIII III7
5III3
Total20

Grouped frequency distribution

For many values or continuous data, group values into classes.

  • Class limits: the stated end values (20–29: lower limit 20, upper limit 29).
  • Class boundaries: halfway between classes, removing gaps (19.5–29.5). Used for histograms and formulas.
  • Class width (size): upper boundary − lower boundary (29.5 − 19.5 = 10).
  • Class mark (midpoint): (lower limit + upper limit)/2 = (20 + 29)/2 = 24.5.
  • Number of classes: usually 5–15; Sturges' rule: k ≈ 1 + 3.322 log₁₀ n.

Steps to construct one

  1. Find the range = largest − smallest value.
  2. Choose the number of classes; class width ≈ range/number of classes (round up to a convenient number).
  3. Write the classes, starting at or below the smallest value.
  4. Tally each value into its class; count frequencies; check the total.

Other columns

  • Relative frequency = class frequency / total frequency (as a fraction or %).
  • Cumulative frequency (less than): a running total of frequencies. Used for medians, quartiles and ogives.

Worked example. Marks of 30 students:

MarksFrequencyBoundariesMidpointCumulative frequency
10–1959.5–19.514.55
20–29819.5–29.524.513
30–391229.5–39.534.525
40–49539.5–49.544.530

(This table is used again in the averages topic.)

Exams usually ask: construct ungrouped and grouped frequency tables from raw data; find class limits, boundaries, widths and midpoints; relative and cumulative frequencies.

Common mistake: using class limits (20 and 29) instead of class boundaries (19.5 and 29.5) to find the class width or to draw histograms.

Written by the UniHive team in our own words. Spotted a mistake? Tell us on WhatsApp.

Read

Watch

Practise

We link to free material and never copy it. Every link was opened by our team before it went up; video data is a rough guide at 360p.

All STA 160 topics

Report

Sign in to report this. It is free.

Is this your work (a lecturer, author or publisher)? Ask us to take it down.