Measures of location: formulas
Try questions on this topic ▶Mean (average)
x̄ = Σx ÷ n
Also: Σx = n × x̄ · New number added = new total − old total
- x̄
- mean
- Σx
- sum of all the values
- n
- number of values
When a question asks for the mean of a list, or gives the mean and asks for a missing value, total or added/removed value.
Mean of a frequency table
x̄ = Σfx ÷ Σf
- f
- frequency of each value
- x
- each value (or class mark)
- Σf
- total frequency
When values come with frequencies (how many times each occurs) and you need the mean.
Mean using an assumed mean
x̄ = A + Σfd ÷ Σf
Also: d = x − A
- A
- the assumed mean
- d
- deviation of each value from A
- f
- frequency
When a question uses an assumed (working) mean to find the mean.
Class mark (mid-point) and grouped mean
Class mark = (lower class limit + upper class limit) ÷ 2
Also: Grouped mean x̄ = Σfx ÷ Σf, using class marks as x
- class limits
- the smallest and largest values in the class
When data is grouped into classes and you need the class mid-point or the mean.
Combined mean of two groups
x̄ = (n1x̄1 + n2x̄2) ÷ (n1 + n2)
- n1, n2
- sizes of the two groups
- x̄1, x̄2
- means of the two groups
When two groups with their own means are put together.
Median
Median = value in position (n + 1)/2 after arranging in order
Also: n even: median = mean of the two middle values
- n
- number of values
When a question asks for the middle value of a set of data.
Mode
Mode = the value that occurs most often (highest frequency)
When a question asks for the most common value.
Quartiles and interquartile range
Q1 at position (n + 1)/4, Q3 at position 3(n + 1)/4 (data in order)
Also: Interquartile range = Q3 − Q1 · Semi-interquartile range = (Q3 − Q1)/2
- Q1
- lower quartile
- Q3
- upper quartile
- n
- number of values
When a question asks for a quartile, the interquartile range or the semi-interquartile range.
Median of grouped data
Median = L1 + ((N/2 − F) ÷ fm) × c
- L1
- lower class boundary of the median class
- N
- total frequency
- F
- cumulative frequency before the median class
- fm
- frequency of the median class
- c
- class width
When the data is grouped and you need the median by calculation.
Mode of grouped data
Mode = L1 + (Δ1 ÷ (Δ1 + Δ2)) × c
- L1
- lower class boundary of the modal class
- Δ1
- modal frequency − frequency of the class before
- Δ2
- modal frequency − frequency of the class after
- c
- class width
When the data is grouped and you need the mode by calculation.