Descriptive statistics AI SL

Descriptive statistics sum up a data set with a typical value, a measure of spread and a diagram. On this course the calculator finds the mean, median, quartiles and standard deviation, so the marks are for entering the data correctly, reading the right value and saying what it means in context. Start with the measures of central tendency, then spread, then the diagrams, and finish by comparing two sets of data.

Formulas at a glance

Only two results on this page are in the formula booklet: the mean from a frequency table and the interquartile range. The range, the outlier boundaries and the link between variance and standard deviation are not, but each takes one line. The calculator finds standard deviation and quartiles, so there is no booklet formula to recall for them.

Total spread of the data

Range=max−min\text{Range} = \text{max} - \text{min}

Not in the booklet

Spread of the middle 50%

IQR=Q3−Q1\text{IQR} = Q_3 - Q_1

In the booklet

Outlier test (below)

Lower fence =Q1−1.5×IQR=Q_1-1.5\times\text{IQR}

Not in the booklet

Outlier test (above)

Upper fence =Q3+1.5×IQR=Q_3+1.5\times\text{IQR}

Not in the booklet

Relationship between variance and standard deviation

Variance=σ2\text{Variance} = \sigma^2

Not in the booklet

Which method to use

Decide what the question is asking you to describe: a typical value, how spread out the data are, or a diagram. Most numerical answers come from the calculator, so the skill is choosing the right value to read.

The question hasUseNotes
A list of values, and asks for the mean, median, mode or rangeEnter the list and run the one-variable statistics. The mode and range are read from the sorted dataThere may be more than one mode. The range is largest value minus smallest value
A frequency table of single valuesEnter the values in one list and the frequencies in another, and tell the calculator to use the frequency listNever average the distinct values. The mean is ∑fx∑f\dfrac{\sum fx}{\sum f}
Data in classes (grouped data)Use the midpoint of each class as xx, with the frequencies. The modal class is the class with the highest frequencyThe mean is only an estimate, because the exact values are not known
A standard deviation or a varianceRead σx\sigma x from the one-variable statistics. The variance is σ2\sigma^2Use the value written σx\sigma x
Quartiles, the interquartile range or a possible outlierRead Q1Q_1 and Q3Q_3 from the calculator. IQR=Q3−Q1\text{IQR}=Q_3-Q_1. Outlier boundaries are Q1−1.5×IQRQ_1-1.5\times\text{IQR} and Q3+1.5×IQRQ_3+1.5\times\text{IQR}A value beyond a boundary is an outlier. Say whether it looks genuine or like an error
Every value is changed in the same wayAdding kk adds kk to the mean and leaves the standard deviation unchanged. Multiplying by kk multiplies both the mean and the standard deviation by kkThe variance is multiplied by k2k^2
A cumulative frequency graphRead across from n4\dfrac n4, n2\dfrac n2 and 3n4\dfrac{3n}4 on the vertical axis, then down to the horizontal axisA percentile works the same way: the 90th percentile is at 0.9n0.9n
A histogramWith equal class widths, the height of a bar is the frequency. The tallest bar is the modal classAdd the heights of the bars to find the total number of values
Two data sets to compareCompare one measure of centre, such as the median, and one measure of spread, such as the interquartile range, and say what each means in contextBox plots allow this comparison. A symmetrical box with whiskers of similar length suggests a normal distribution

Section 1 of 3 SL4.3

Measures of central tendency

A measure of central tendency gives one typical value for a data set. The mean is the sum of the values divided by how many there are, the median is the middle value when the data is in order, and the mode is the most frequent value. For grouped data, use class midpoints to estimate the mean.

Mean from a frequency table, and estimated mean

Mean from a frequency table

x¯=∑fx∑f\bar x = \dfrac{\sum fx}{\sum f}

In the formula booklet. Each value xx is weighted by how often it occurs, ff; don't just average the distinct values.

Estimated mean from grouped data

x¯≈∑fx∑f\bar x \approx \dfrac{\sum fx}{\sum f}, x=x = class midpoint

Same formula from the formula booklet, applied with midpoints in place of exact xx-values. Since exact values inside a class are unknown, the midpoint stands in for every value in that class - hence "estimate".

Median and mode are read directly from the data, not calculated from a formula.

Key terms

What is the mean?

The mean is the sum of all the values divided by the number of values. It uses every value, so it is pulled towards extreme values.

e.g. The mean of 4,6,8,104, 6, 8, 10 is 4+6+8+104=7\dfrac{4+6+8+10}{4}=7.

How do you find the median?

Put the values in order. The median is the middle value, or the mean of the two middle values when there is an even number of values.

e.g. For 3,5,9,123, 5, 9, 12, the median is 5+92=7\dfrac{5+9}{2}=7.

What is the mode?

The mode is the most frequent value. In a frequency table, it is the value with the highest frequency, not the highest frequency itself.

e.g. In a table where the values 1,2,31, 2, 3 have frequencies 4,7,54, 7, 5, the mode is 22, not 77.

What is a class midpoint?

The midpoint of a class is halfway between its lower and upper boundaries. It is used as a stand-in value for every item in the class when estimating the mean.

e.g. The class 4040 to 6060 has midpoint 40+602=50\dfrac{40+60}{2}=50.

Worked example, step by step

The question Calculator needed for the mean [6 marks]

A library records how long 50 visitors stay on one afternoon. The times, tt minutes, are grouped as follows.

0≤t<200\le t<20: 6 visitors
20≤t<4020\le t<40: 14 visitors
40≤t<6040\le t<60: 18 visitors
60≤t<8060\le t<80: 9 visitors
80≤t<10080\le t<100: 3 visitors

(a) Write down the modal class.

(b) Estimate the mean time spent in the library.

(c) Find the class that contains the median.

(d) Explain why your answer to (b) is an estimate.

Worked solution: worked example

Answer: (a) 40≤t<6040\le t<60 (b) 45.6 minutes (c) 40≤t<6040\le t<60 (d) the exact values in each class are not known, so each is replaced by its midpoint.

Step 1 - Find the modal class.

The highest frequency is 18, so the modal class is 40≤t<6040\le t<60. A1 - 40≤t<6040\le t<60

Why? The modal class is the class with the highest frequency, not the frequency itself. This works with equal class widths, as here.

Step 2 - Write down the midpoints.

The midpoints of the five classes are 10, 30, 50, 70, 9010,\ 30,\ 50,\ 70,\ 90. These stand in for the xx-values. M1 - Use the midpoints of the classes as the xx-values

Why? For grouped data nobody knows the exact times, so every value in a class is treated as if it were at the midpoint of that class. Midpoint =lower+upper2=\dfrac{\text{lower}+\text{upper}}{2}.

Step 3 - Use the calculator for the mean.

Enter the midpoints in one list and the frequencies in a second list, then run the one-variable statistics with the second list as the frequency list. The calculator gives x¯=45.6\bar x=45.6 minutes. By hand, ∑fx∑f=228050=45.6\dfrac{\sum fx}{\sum f}=\dfrac{2280}{50}=45.6. A1 - Mean =45.6=45.6

Why? The mean from a frequency table is ∑fx∑f\dfrac{\sum fx}{\sum f}, and the calculator does the multiplying and adding. Check that the frequency list is switched on, or it averages the five midpoints instead.

Step 4 - Find the class that contains the median.

There are 50 values, so the median lies between the 25th and 26th values. The cumulative frequencies are 6, 20, 38, 47, 50. The 25th and 26th values are both in the third class, so the median is in 40≤t<6040\le t<60. M1 - Use cumulative frequencies to locate the 25th and 26th values A1 - 40≤t<6040\le t<60

Why? The cumulative frequency tells you how many values are in or below each class. The class where it first passes 25 contains the middle values.

Step 5 - Say why it is an estimate.

The table does not give the exact times, only how many fall in each class. The calculation treats every time in a class as the midpoint, so the true mean may be a little higher or lower than 45.6. R1 - The exact values in each class are not known, so midpoints are used

Why? The reasoning mark needs the idea that the exact values within each class are unknown, not just the word "estimate".

Marks (6):
A1 40≤t<6040\le t<60
M1 Use the midpoints of the classes as the xx-values
A1 Mean =45.6=45.6
M1 Use cumulative frequencies to locate the 25th and 26th values
A1 40≤t<6040\le t<60
R1 The exact values in each class are not known, so midpoints are used

Now you try: enter your answers to be marked

These are real practice questions. Type your answer in each box and press Mark it. The worked solution and mark scheme appear straight away, and your first attempt is the one that counts. Use the keyboard for powers, roots and trig, and the working box for your notes.

1
Easy
Calculator
[3 marks]
The frequency table shows:

ValueFrequency
12
26
36
41
(a)(i) State the smaller mode.
[1]
(a)(ii) State the larger mode.
[1]
(b) State the range.
[1]
Fractions & powers
Other

Worked solution: practice question 1

2
Easy
Calculator
[2 marks]
Marks: 5 (×2), 6 (×4), 7 (×3), 8 (×1).

Find the mean mark.
[2]
Fractions & powers
Other

Worked solution: practice question 2

3
Hard
Calculator
[4 marks]
Values 2,4,6,82, 4, 6, 8 occur with frequencies 3,5,f,23, 5, f, 2. The mean is 5.

Find ff.
[4]
Fractions & powers
Other

Worked solution: practice question 3

Your score so far: 0 out of 9 marks

Common mistakes

  • Averaging the distinct values instead of using frequencies. Given a frequency table, the mean is x¯=∑fx∑f\bar x=\dfrac{\sum fx}{\sum f}, not the plain average of the values that appear - a value seen ten times must count ten times.
  • Using the class boundary instead of the midpoint for an estimated mean. Grouped-data means always use the midpoint of each class as the representative xx-value, never the upper or lower boundary.
  • Missing a second (or third) mode. If more than one value shares the highest frequency, state every one of them - the data is bimodal or multimodal, and giving only one is an incomplete answer.

Try some questions on measures of central tendency

Section 2 of 3 SL4.3

Measures of spread

Measures of spread describe how far data values are scattered around the centre. The range is the largest value minus the smallest, the interquartile range gives the spread of the middle half of the data, and the standard deviation and variance describe typical distance from the mean. The standard deviation and variance are found using a GDC.

Standard deviation and variance are found with the calculator's one-variable statistics, not by hand.

Key terms

What is standard deviation?

Standard deviation measures how far values typically lie from the mean. A larger value means the data is more spread out, and it is zero only when every value is the same.

e.g. The data 5,5,5,55, 5, 5, 5 has a standard deviation of 00.

How are variance and standard deviation related?

Variance is the square of the standard deviation, so the standard deviation is the square root of the variance.

e.g. A standard deviation of 44 gives a variance of 1616, and a variance of 2525 gives a standard deviation of 55.

How does adding a constant to every value change the spread?

The mean increases by the constant, but the standard deviation and the interquartile range stay the same, because every value moves by the same amount.

e.g. Adding 1010 to every value in data with mean 2020 and standard deviation 33 gives a mean of 3030 and a standard deviation of 33.

How does multiplying every value by a positive number change the spread?

The mean and the standard deviation are both multiplied by that number, and the variance is multiplied by its square.

e.g. Multiplying every value by 22 in data with mean 2020 and standard deviation 33 gives a mean of 4040, a standard deviation of 66 and a variance of 3636 instead of 99.

Worked example, step by step

The question Calculator needed [6 marks]

Eight riders take part in a hill-climb race. Their times, in minutes, are
22, 25, 25, 27, 28, 30, 31, 44.

(a) Find the mean and the standard deviation of the times.

(b) Find the interquartile range.

(c) The course is shortened, and every rider's time is reduced by 5 minutes. Write down the new mean and the new standard deviation.

Worked solution: worked example

Answer: (a) mean 2929 minutes, standard deviation 6.286.28 minutes (b) 5.55.5 minutes (c) new mean 2424 minutes, new standard deviation 6.286.28 minutes.

Step 1 - Enter the data and run the statistics.

Enter the eight times in a list and run the one-variable statistics. Read the values you need from the screen: the mean x¯\bar x, the standard deviation σx\sigma x, and the quartiles Q1Q_1 and Q3Q_3.

Why? One run gives everything. The screen also shows a second standard deviation, SxSx, which is not the one to use on this course.

Step 2 - Read the mean and standard deviation.

x¯=29\bar x=29 and σx=6.28\sigma x=6.28 minutes, to 3 significant figures. A1 - Mean =29=29 A1 - Standard deviation =6.28=6.28

Why? The standard deviation measures how far the times typically lie from the mean. The calculator has no separate "by hand" step here, because the syllabus says to use technology.

Step 3 - Find the interquartile range.

The calculator gives Q1=25Q_1=25 and Q3=30.5Q_3=30.5. Then IQR=Q3−Q1=30.5−25=5.5.\text{IQR}=Q_3-Q_1=30.5-25=5.5. M1 - Subtract the quartiles, Q3−Q1Q_3-Q_1 A1 - IQR=5.5\text{IQR}=5.5

Why? The interquartile range is the spread of the middle half of the data, so it is not pulled by the slowest rider. Quartiles can differ slightly between methods, which is why the calculator value is the one to use.

Step 4 - Reduce every time by 5.

Subtracting 5 from every value subtracts 5 from the mean, so the new mean is 29−5=2429-5=24 minutes. Every value moves by the same amount, so the spread does not change: the new standard deviation is still 6.286.28 minutes. A1 - New mean =24=24 A1 - Standard deviation unchanged, 6.286.28

Why? Adding or subtracting a constant shifts the data without changing how spread out it is. Multiplying every value by a constant would multiply the standard deviation by that constant as well.

Step 5 - Look at the slowest rider.

The upper boundary for outliers is 30.5+1.5×5.5=38.7530.5+1.5\times5.5=38.75, and the slowest time, 44, is above it. This outlier is why the mean (29) is above the median (27.5), and why the standard deviation (6.28) is larger than the interquartile range (5.5).

Why? One extreme value pulls the mean and the standard deviation more than it pulls the median and the interquartile range. That is why the median and interquartile range are the better summary when there is an outlier.

Marks (6):
A1 Mean =29=29
A1 Standard deviation =6.28=6.28
M1 Subtract the quartiles, Q3−Q1Q_3-Q_1
A1 IQR=5.5\text{IQR}=5.5
A1 New mean =24=24
A1 Standard deviation unchanged, 6.286.28

Now you try: enter your answers to be marked

1
Easy
Calculator
[1 mark]
A data set has standard deviation 6.6. State the variance.
[1]
Fractions & powers
Other

Worked solution: practice question 1

2
Medium
Calculator
[2 marks]
Goals0123
Frequency5843
(a) Find the mean.
[1]
(b) Find the standard deviation.
[1]
Fractions & powers
Other

Worked solution: practice question 2

3
Medium
Calculator
[2 marks]
ClassFrequency
0-104
10-209
20-3014
30-408
40-505
(a) Estimate the mean.
[1]
(b) Estimate the standard deviation.
[1]
Fractions & powers
Other

Worked solution: practice question 3

Your score so far: 0 out of 5 marks

Common mistakes

  • Reading the wrong standard deviation. The calculator's 1-Var Stats screen shows two standard deviation values. Use the one written σx\sigma x, not SxSx.
  • Quoting the range as a single extreme-sensitive summary. One unusually large or small value inflates the range even though the rest of the data is tightly packed - the IQR is the more robust measure when a question asks you to compare consistency.
  • Forgetting how scaling affects spread. Adding a constant to every value shifts the mean but leaves the standard deviation unchanged; multiplying every value by a constant kk multiplies the standard deviation by |k||k|, not by kk alone.

Try some questions on measures of spread

Section 3 of 3 SL4.2

Statistical diagrams

Statistical diagrams show how data is distributed. Frequency tables and histograms show how many values fall in each class, cumulative frequency graphs show how many values lie below a given value, and box and whisker diagrams show the minimum, quartiles, median and maximum. Read the median, quartiles and interquartile range from them, and compare distributions using centre and spread.

Reading the diagrams

Median and quartiles from a cumulative frequency curve

Median at position n2\dfrac{n}{2}; Q1Q_1 at n4\dfrac{n}{4}; Q3Q_3 at 3n4\dfrac{3n}{4}.

Not in the formula booklet - it's a reading skill, not a formula. Trace across from the vertical axis to the curve, then down to the horizontal axis.

Box plot from the five-number summary

Minimum, Q1Q_1, median, Q3Q_3, maximum.

The box spans Q1Q_1 to Q3Q_3 with a line at the median. An outlier is marked with a cross, and each whisker runs to the smallest or largest value that is not an outlier.

Key terms

What is cumulative frequency?

Cumulative frequency is the running total of the frequencies up to the upper boundary of each class. The final value equals the total number of data values.

e.g. Class frequencies of 44, 99, 1212 and 55 give cumulative frequencies of 44, 1313, 2525 and 3030.

What does a histogram show?

A histogram uses touching bars, where each bar covers one class and its height shows the frequency. When all class widths are equal, the heights can be compared directly.

e.g. Classes of width 1010 with frequencies 55, 1212 and 88 give three bars of heights 55, 1212 and 88.

What is the interquartile range?

The interquartile range is Q3−Q1Q_3-Q_1, the spread of the middle half of the data. It is not affected by extreme values at either end.

e.g. If Q1=12Q_1=12 and Q3=20Q_3=20, then the interquartile range is 20−12=820-12=8.

What does a box and whisker diagram show?

The box runs from the lower quartile to the upper quartile with a line at the median. The whiskers reach to the smallest and largest values that are not outliers, and any outlier is marked with a cross.

e.g. For a minimum of 22, Q1=5Q_1=5, median 88, Q3=12Q_3=12 and a maximum of 2020, the box spans 55 to 1212 and the whiskers reach 22 and 2020, because neither is an outlier.

Worked example, step by step

The question Calculator allowed [5 marks]

The journey times, in minutes, on two bus routes are summarised below.

Route 14: minimum 18, Q1=24Q_1=24, median 27, Q3=31Q_3=31, maximum 45.
Route 22: minimum 20, Q1=25Q_1=25, median 30, Q3=34Q_3=34, maximum 40.

(a) Show that the maximum journey time on Route 14 is an outlier.

(b) Compare the journey times on the two routes, using the median and the interquartile range.

Worked solution: worked example

Answer: (a) upper boundary =41.5=41.5, and 45>41.545>41.5, so 45 is an outlier (b) Route 22 journeys are typically longer (median 30 minutes against 27 minutes) and less consistent (interquartile range 9 minutes against 7 minutes).

Step 1 - Find the interquartile range of Route 14.

IQR=Q3−Q1=31−24=7.\text{IQR}=Q_3-Q_1=31-24=7.

Why? The outlier boundaries are measured in lots of the interquartile range, so you need it first.

Step 2 - Find the upper boundary.

Upper boundary =Q3+1.5×IQR=31+1.5×7=41.5=Q_3+1.5\times\text{IQR}=31+1.5\times7=41.5. M1 - Use Q3+1.5×IQRQ_3+1.5\times\text{IQR} with their interquartile range A1 - Upper boundary =41.5=41.5

Why? An outlier is a value more than 1.5×IQR1.5\times\text{IQR} from the nearest quartile. The maximum is a large value, so the test is against the upper boundary.

Step 3 - Compare the maximum with the boundary.

The maximum, 45, is greater than 41.5, so it is an outlier. On a box plot it would be marked with a cross, and the upper whisker would stop at the largest value below the boundary. R1 - Compare 45 with 41.5 and conclude it is an outlier

Why? "Show that" needs the comparison written down. The boundary on its own does not show that 45 is an outlier.

Step 4 - Compare the centres.

The median for Route 22 is 30 minutes and for Route 14 it is 27 minutes. Journeys on Route 22 are typically 3 minutes longer. R1 - Compare the medians, in context

Why? Compare like with like, using the same measure for both data sets, and say what the difference means in the context.

Step 5 - Compare the spreads.

The interquartile range for Route 22 is 34−25=934-25=9 minutes, and for Route 14 it is 7 minutes. The middle half of the journey times is more spread out on Route 22, so Route 14 is the more consistent route. R1 - Compare the interquartile ranges, in context

Why? The interquartile range is the better measure of spread here because the outlier makes the range misleading. A smaller interquartile range means more consistent journey times.

Marks (5):
M1 Use Q3+1.5×IQRQ_3+1.5\times\text{IQR} with their interquartile range
A1 Upper boundary =41.5=41.5
R1 Compare 45 with 41.5 and conclude it is an outlier
R1 Compare the medians, in context
R1 Compare the interquartile ranges, in context

Now you try: enter your answers to be marked

1
Easy
Calculator
[4 marks]
The histogram shows the times, in minutes, taken by the runners in a charity fun run.
2025303540450246810121416Time (minutes)Frequency
(a) Find the total number of runners.
[1]
(b) Write down the class that contains the median time.
[1]
(c) Find the percentage of the runners who took less than 30 minutes.
[2]
Fractions & powers
Other

Worked solution: practice question 1

2
Medium
Calculator
[4 marks]
A courier company records the delivery time (minutes) for 60 packages, shown in the cumulative frequency graph below.
010203040500204060Delivery time (minutes)Cumulative frequency
(a) State the cumulative frequency value used to estimate the median.
[1]
(b) Hence use the graph to estimate the median delivery time.
[1]
(c) The company claims that "at least half of all deliveries take under 20 minutes". By reading the cumulative frequency at 20 minutes, state whether this claim is supported by the data.
[2]
Fractions & powers
Other

Worked solution: practice question 2

3
Hard
Calculator
[6 marks]
The box plot summarises the delivery distances (km) for a fleet of vans over one week.
0102030405060Delivery distance (km)
(a) State the median delivery distance.
[1]
(b) Find the interquartile range.
[2]
(c)(i) A separate delivery of 70 km is recorded. Using the 1.5×IQR1.5\times\text{IQR} rule, calculate the upper boundary for outliers.
[2]
(c)(ii) State whether the 70 km delivery would be considered an outlier.
[1]
Fractions & powers
Other

Worked solution: practice question 3

Your score so far: 0 out of 14 marks

Common mistakes

  • Reading cumulative frequency instead of frequency, or vice versa. A cumulative frequency graph always rises (or stays flat) - if your curve dips, you've plotted plain frequency by mistake.
  • Using the class midpoint where the boundary is needed. Histograms and cumulative frequency graphs plot against class boundaries, not midpoints - midpoints only belong in mean calculations.
  • Forgetting to test for outliers. Before you draw the whiskers, check the smallest and largest values against Q1−1.5×IQRQ_1-1.5\times\text{IQR} and Q3+1.5×IQRQ_3+1.5\times\text{IQR}. A value beyond a boundary is marked with a cross, and the whisker stops at the next value.

Try some questions on statistical diagrams

Using your GDC

The exact key presses for the TI-84 Plus CE, Casio fx-CG50, Casio fx-CG100 and TI-Nspire CX, with what the screen shows. Pick your calculator.

One-variable statistics (mean, median, standard deviation)

Used in: Measures of central tendency, Measures of spread

How to find summary statistics on a TI-84 Plus CE

1-Var Stats (from a list)

Press stat and choose 1:Edit. If L1 already has numbers in it, press ▲ to put the cursor on the name L1, then press clear and enter to empty the list.

Type the data into L1, one value at a time, pressing enter after each: 4, 5, 5, 6, 7, 8, 9, 10.

L1
4
5
5
6
7
8
9
10

Press stat, then ▶ to move to CALC, and choose 1:1-Var Stats. With the Stat Wizards on, set Xlist to L1 (2nd 1), leave FreqList empty, move down to Calculate and press enter. If the Stat Wizards are off, 1-Var Stats is pasted on the home screen: press 2nd 1 and then enter.

1-Var Stats
Xlist:L1
FreqList:
Calculate

The results appear. Press ▼ to scroll down to minX, Q1, Med, Q3 and maxX. x̄ is the mean, σx is the standard deviation to use, and Sx is not needed.

Mean =6.75= 6.75 and standard deviation =1.98= 1.98, each to 3 significant figures.

x̄=6.75
Σx=54
Σx²=396
Sx=2.121320
σx=1.984313
n=8
minX=4
Q1=5
Med=6.5
Q3=8.5
maxX=10
Data with frequencies

For a frequency table, type the values in L1 and the frequencies in L2. In 1-Var Stats set Xlist to L1 and FreqList to L2 (2nd 2). For the table in the box below, L1 is 1, 2, 3, 4, 5 and L2 is 3, 5, 8, 4, 2.

1-Var Stats
Xlist:L1
FreqList:L2
Calculate

Use σx for the standard deviation and ignore Sx. The calculator's Q1 and Q3 are the medians of the lower and upper halves of the data.

The full guide: One-variable statistics (mean, median, standard deviation)

Box-and-whisker plot and quartiles

Used in: Measures of spread, Statistical diagrams

How to find quartiles and draw a box-and-whisker plot on a TI-84 Plus CE

1-Var Stats (the five-number summary)

Press stat and choose 1:Edit.... Type the data into L1, pressing enter after each value: 12, 6, 31, 9, 15, 5, 10, 13, 6, 3, 16, 8. If L1 already holds numbers, clear them first.

L1
12
6
31
9
15
...

Press stat, then ▶ to move to CALC, and choose 1:1-Var Stats. With the Stat Wizards on, set Xlist to L1 by pressing 2nd 1 (L1), leave FreqList empty, then choose Calculate and press enter. If the Stat Wizards are off, type 1-Var Stats L1 and press enter.

1-Var Stats
Xlist:L1
FreqList:
Calculate

Press ▼ to scroll past the mean and the standard deviations until you reach minX, Q1, Med, Q3 and maxX.

Minimum 33, Q1=6Q_1 = 6, median 9.59.5, Q3=14Q_3 = 14, maximum 3131. So IQR=14−6=8\text{IQR} = 14 - 6 = 8.

n=12
minX=3
Q1=6
Med=9.5
Q3=14
maxX=31
Box plot

Press 2nd Y= (STAT PLOT) and choose 1:Plot1. Set Plot1 to On, choose the modified box plot icon for Type (the fourth of the six; it plots outliers as separate points), set Xlist to L1 with 2nd 1, and set Freq to 1.

Plot1 On
Type: modified box plot
Xlist:L1
Freq:1

Press zoom and choose 9:ZoomStat. The box plot appears with the window set for you. Press trace: the cursor starts at the median, ◀ moves to Q1 and the lower whisker end, and ▶ moves to Q3, the upper whisker end and the outlier.

The upper whisker ends at 1616 and 3131 is plotted on its own, as an outlier.

Med=9.5
x=16
x=31

If the plot does not show, turn off any equations in Y= and check that only the plot you set up is on. The fifth icon is the plain box plot, whose whiskers always reach the minimum and maximum.

The full guide: Box-and-whisker plot and quartiles

Histogram and cumulative frequency graph

Used in: Statistical diagrams

How to draw a histogram and a cumulative frequency graph on a TI-84 Plus CE

Histogram from grouped data

Press stat and choose 1:Edit.... In L1 type the class mid-values, pressing enter after each: 5, 15, 25, 35, 45, 55. In L2 type the frequencies: 3, 7, 12, 10, 6, 2. Clear any old numbers out of both lists first.

L1 L2
5 3
15 7
25 12
35 10
...

Press 2nd Y= (STAT PLOT) and choose 1:Plot1. Set Plot1 to On, choose the histogram icon for Type (the third of the six), set Xlist to L1 with 2nd 1, and set Freq to L2 with 2nd 2.

Plot1 On
Type: histogram
Xlist:L1
Freq:L2

Press window and set Xmin to 0, Xmax to 60 and Xscl to the class width, 10. Set Ymin to 0 and Ymax to a little more than the greatest frequency, such as 14. Press graph.

Xmin=0
Xmax=60
Xscl=10
Ymin=0
Ymax=14

Press trace and use ◀ and ▶ to move from bar to bar. The screen shows the start and end of each class and its frequency.

The tallest bar is the class 20<t≤3020 \lt t \le 30, with frequency 1212.

min=20
max=30
n=12
Cumulative frequency graph

Press stat and choose 1:Edit.... In L3 type the upper class boundaries: 10, 20, 30, 40, 50, 60. In L4 type the cumulative frequencies, the running totals of the frequencies: 3, 10, 22, 32, 38, 40.

L3 L4
10 3
20 10
30 22
40 32
...

Press 2nd Y= (STAT PLOT), choose 1:Plot1 and set it to Off. Choose 2:Plot2, set it to On, and choose the xyLine icon for Type (the second of the six). Set Xlist to L3 with 2nd 3 and Ylist to L4 with 2nd 4.

Plot1 Off
Plot2 On
Type: xyLine
Xlist:L3
Ylist:L4

Press window and set Xmin to 0, Xmax to 60, Xscl to 10, Ymin to 0 and Ymax to a little more than the total, such as 45. Press graph. The points are joined by straight lines.

Cumulative frequencies 3,10,22,32,38,403, 10, 22, 32, 38, 40. The median is the 2020th value, so median≈28.3\text{median} \approx 28.3 minutes.

xyLine
(10,3)
(20,10)
...(60,40)

The graph also passes through (0, 0), the start of the first class, which the plot above leaves out: add it when you copy the graph. To avoid adding the frequencies by hand, press 2nd stat (LIST), choose OPS and then 6:cumSum(, and store cumSum(L2) in L4.

The full guide: Histogram and cumulative frequency graph

See the full list of GDC guides for every calculator task.

Syllabus content covered

CodeSyllabus content
SL4.3Measures of central tendency (mean, median, mode), including estimating the mean from grouped data. Measures of dispersion (IQR, standard deviation and variance), calculated using technology. Effect of constant changes (e.g. adding or scaling every value) on the mean and standard deviation.
SL4.2Presentation of data in frequency tables, histograms and cumulative frequency graphs; using cumulative frequency to find the median, quartiles, percentiles, range and IQR. Production and understanding of box and whisker diagrams, including comparing two distributions using symmetry, median, IQR or range, and assessing possible normality from the symmetry of the box and whiskers.

Official IB source: Mathematics: applications and interpretation subject brief (PDF, ibo.org).

Quick questions

Why is the mean from grouped data called an estimate?

Grouped data only tells you how many values fall in each class, not their exact values, so the calculation uses the class midpoint as a stand-in for every value in that class - the result is close to, but not exactly, the true mean.

What is the difference between range and IQR?

The range is max−min\text{max}-\text{min} and uses every value, including any extremes. The IQR is Q3−Q1Q_3-Q_1, the spread of the middle 50% of the data, so it isn't distorted by an unusually high or low value.

How do I read the median from a cumulative frequency graph?

Find n2\dfrac{n}{2} on the cumulative frequency axis, draw across to the curve, then drop down to the horizontal axis to read the median value.

How do I find the mean from a frequency table?

Multiply each value by its frequency, add the products, and divide by the total frequency. For values 1,2,31, 2, 3 with frequencies 2,3,52, 3, 5, the mean is 1×2+2×3+3×510=2.3\dfrac{1\times2+2\times3+3\times5}{10}=2.3.

What does the standard deviation tell me when comparing two data sets?

A larger standard deviation means the values are more spread out, and a smaller one means they are more consistent. State the comparison in context, alongside the means.

How do I find the quartiles from a cumulative frequency graph?

For nn values, read across from n4\dfrac{n}{4} on the vertical axis for the lower quartile and from 3n4\dfrac{3n}{4} for the upper quartile. Then drop down to the horizontal axis. For 8080 values, these heights are 2020 and 6060.

Which average should I use when there are extreme values?

Use the median, because extreme values do not affect it as much as they affect the mean. In 3,4,5,6,1003, 4, 5, 6, 100, the median is 55 but the mean is 23.623.6.

Which measure of spread should I use if there is an extreme value?

Use the interquartile range. The range and the standard deviation are both pulled by extreme values, but the interquartile range depends only on the middle half of the data.

How do I compare two distributions using box plots?

Compare a measure of centre, such as the median, and a measure of spread, such as the interquartile range, and say what each means in context. A higher median means higher values typically, and a smaller interquartile range means more consistent values.

How do I find the median from a frequency table?

Find the total frequency nn, then locate the n+12\dfrac{n+1}{2}th value by adding the frequencies cumulatively. With 1111 values, the median is the 66th value.

Ready to practise properly?

Practice questions on every section, marked instantly like the real exam.