Central tendency and dispersion
In a minute
The , and describe the centre of a data set. The and describe its spread. You find them for lists and frequency tables, estimate the mean of grouped data, and see what shifting or scaling the data does.
You'll be able to
- Find the mean, median and mode of a list or a frequency table, by formula and with your GDC.
- Estimate the mean of grouped data from , and find the .
- Find quartiles and the IQR by hand and with your GDC, and explain why the two can differ.
- Find the standard deviation and with your GDC, and say what they measure.
- Say how adding to or multiplying every value changes the mean and standard deviation.
Before you start3 quick questions on what this builds on
Revise first: 4.2 Data presentation
Mean, median and mode
Nine students score on a -question quiz. What is a typical score? Three different averages answer this.
Try it first, then reveal one step at a time.
- Mean: the total is and , so .
- Median: in order, . The median is the th value, .
- Mode: appears four times, more than any other score.
- The low scores and pull the mean below the median.
In a frequency table, each value appears times, so it adds to the total. This formula is in the formula booklet.
Here is the number of different values. The total frequency counts data values, not columns.
Try it first, then reveal one step at a time.
- Mean: , so .
- Median: with , average the th and th values. The first values are , and the th to rd are .
- So the th and th values are both , and the median is .
- Mode: has the highest frequency, .
On Paper 2, your GDC finds the mean from a list of values and a list of frequencies (keystrokes in the next section).
Grouped data
Sometimes you only know which class each value is in. Then you can't find the exact , but you can estimate it.
The idea: treat every value in a class as if it sat at the middle of the class.
Use the booklet formula with each a mid-interval value. The result is an estimate, not the exact mean.
Try it first, then reveal one step at a time.
- (a) The classes have equal widths, and the highest frequency is . So the modal class is .
- (b) The mid-interval values are , , and .
- .
- The estimated mean is minutes, which sits among the busiest classes.
Try it first, then reveal one step at a time.
- Put the mid-interval values into one list, with the frequencies beside them. Write both lists in your answer: that earns the method mark.
- Run one-variable statistics with the frequency list attached. Check that : if it shows , the frequencies are missing.
- Read off , and round only now.
Range, quartiles and the IQR
A measure of says how spread out the data are.
The simplest is the range, largest value minus smallest. One unusual value can change it a lot.
1. To find the quartiles by hand, order the data and find the .
2. Split the data into a lower half and an upper half. When is odd, leave the median out of both halves.
3. is the median of the lower half, and is the median of the upper half.
The (IQR) is the spread of the middle half of the data, so extreme values don't affect it. It is in the booklet.
Try it first, then reveal one step at a time.
- In order: . The median is the th value, ; leave it out of both halves.
- Lower half: , so .
- Upper half: , so .
- years.
Other methods exist: some keep the median in both halves, and spreadsheets often interpolate. So the same data can give slightly different quartiles.
Your GDC uses one fixed method. In their usual settings, the three models in these notes leave the median out when is odd, as above. A by-hand answer can differ from the GDC's, and each is right for its method.
Try it first, then reveal one step at a time.
- (a) Enter to and the frequencies as in the apple example, and run one-variable statistics. Write down and .
- Check by counting: the th and th values are both .
- (b) Use the rule from 4.1. , so the fences are and .
- All values lie from to , inside the fences, so there are no outliers.
Standard deviation and variance
The uses only the . The uses every value: it measures how far the values typically lie from the .
In the exam you find with your GDC only. One small case by hand shows what it means: the variance is the mean of the squared distances from the mean, .
Try it first, then reveal one step at a time.
- Mean: .
- Distances from the mean: . They add up to , so square them first.
- Squares: , total . So .
- .
Your GDC shows two standard deviations. In IB Maths AA you use , which divides by as above. Ignore , which divides by .
Try it first, then reveal one step at a time.
- Enter to and the frequencies, run one-variable statistics and check that .
- (a) . This is exact, so give it as it is.
- (b) , so .
- (c) Square the unrounded value: , so .
Adding to or scaling every value
Add marks to every test score. Every score, and so the , moves up by . The gaps between scores don't change, so the spread doesn't either.
Double every score instead. Every score and every gap doubles, so the mean and the both double.
can be negative: subtracting from every value lowers the mean by and leaves unchanged. The , and mode change like the mean; the and range change like .
Try it first, then reveal one step at a time.
- Every value is multiplied by , then is added.
- (a) Mean: .
- (b) The has no effect on the spread, so .
- (c) . This equals : the is squared too.
Try it first, then reveal one step at a time.
- Only affects the standard deviation: , so .
- Both affect the mean: , so and .
- Check: and .
Common mistakes
- Taking one of the middle two values, or the middle column of a table, as the median. For even , average the middle two data values.
- Dividing by the number of columns. Divide by the total frequency .
- Using class boundaries instead of mid-interval values, or leaving the frequency list off on the GDC. Check that the GDC shows the right .
- Quoting from the GDC as the standard deviation. In IB Maths AA you use .
- Multiplying the variance by , or adding to . Under , becomes and the variance .
Exam tips
- Write down the mode: no working needed. For Find the median or Find the mean, show the ordered data or with your numbers in, for the method mark.
- On Paper 2, write down the lists you entered before the GDC's answer.
- Round only the final answer, to 3 s.f. unless the question asks for another precision, such as 4 s.f.
Key takeaways
Practise this
9 past-paper questions on 4.3 in the AA HL bank, each with a mark scheme and a worked explanation.