One-variable statistics (mean, median, standard deviation)
Enter a list of data and read off the mean, median, quartiles and standard deviation, with the exact key presses for the TI-84 Plus CE, Casio fx-CG50, Casio fx-CG100 and TI-Nspire CX, plus what to write in the exam.
Enter the data into a list, then run the calculator's one-variable statistics command (1-Var Stats, 1-VAR, 1-Variable or One-Variable Statistics). Read the mean (x-bar), the standard deviation (σx, not sx), the sample size n, and the minimum, Q1, median, Q3 and maximum. For a frequency table, put the frequencies in a second list and tell the calculator to use it.
Example
A data set is 4, 5, 5, 6, 7, 8, 9, 10. Find the mean and the standard deviation, each to 3 significant figures.
Enter the eight values into a list and run the one-variable statistics. The mean is 6.75 and the standard deviation is 1.98. The same run also gives the median 6.5, the quartiles 5 and 8.5, and the smallest and largest values 4 and 10.
Choose your calculator
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 and standard deviation , 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.
How to find summary statistics on a Casio fx-CG50
1-VAR (from a list) | |
Press MENU and choose Statistics. The List Editor opens. If List 1 already has numbers in it, move to any value in List 1, press F6 to show more function keys, then F4 (DEL-ALL) and F1 (Yes). |
|
Type the data into List 1, one value at a time, pressing EXE after each: 4, 5, 5, 6, 7, 8, 9, 10. |
List 1 4 5 5 6 7 8 9 10 |
Press F2 (CALC), then F1 (1-VAR). The results are for List 1 with every value counted once. Press ▼ to scroll down to minX, Q1, Med, Q3 and maxX. σx is the standard deviation to use, and sx is not needed. Mean and standard deviation , each to 3 significant figures. |
x̄=6.75 Σx=54 Σx²=396 σx=1.984313 sx=2.121320 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 List 1 and the frequencies in List 2. Press F2 (CALC) then F6 (SET). Set 1Var XList to List1 and 1Var Freq to List2, press EXIT, then F2 (CALC) and F1 (1-VAR) again. For the table in the box below, List 1 is 1, 2, 3, 4, 5 and List 2 is 3, 5, 8, 4, 2. |
1Var XList:List1 1Var Freq:List2 2Var XList:List1 2Var YList:List2 |
Set 1Var Freq back to 1 when you go back to a plain list, otherwise the old frequency list is still being used.
How to find summary statistics on a Casio fx-CG100
Calculate Summary Statistics (from a list) | |
Press HOME and choose Statistics. The List Editor tab opens. If List 1 already has numbers in it, highlight any value in it and press TOOLS, then choose Delete → One List. |
|
Type the data into List 1, one value at a time, pressing EXE after each: 4, 5, 5, 6, 7, 8, 9, 10. |
List 1 4 5 5 6 7 8 9 10 |
Press the next-tab key to move to the Setup tab. Highlight the first line, press OK and choose Calculate Summary Statistics. Highlight line 2, press OK and choose 1-Variable. 1Var XList should be List 1, and 1Var Freq should be 1 so that every value counts once. |
Calculate Summary Statistics 1-Variable 1Var XList:List 1 1Var Freq:1 |
Choose Execute and press OK, or press the next-tab key. The Results tab shows the summary statistics: scroll down with ▼ to see minX, Q1, Med, Q3 and maxX. σx is the standard deviation, the one to use, and sx is not needed. Mean and standard deviation , each to 3 significant figures. |
x̄=6.75 Σx=54 Σx²=396 σx=1.984313 sx=2.121320 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 List 1 and the frequencies in List 2. On the Setup tab highlight 1Var Freq, press OK and enter 2 as the list number. For the table in the box below, List 1 is 1, 2, 3, 4, 5 and List 2 is 3, 5, 8, 4, 2. |
1Var XList:List 1 1Var Freq:List 2 |
Put 1Var Freq back to 1 for a plain list of values. The Q1Q3 Type setting decides how the quartiles are found: Standard splits the data at the median.
How to find summary statistics on a TI-Nspire CX
One-Variable Statistics (from a list) | |
Open a new document and add a Lists & Spreadsheet page. Press ▲ to move to the name cell at the top of column A, type data and press enter. This makes the column a list called data. |
|
Type the data into column A, one value at a time, pressing enter after each: 4, 5, 5, 6, 7, 8, 9, 10. |
A data 4 5 5 6 7 8 9 10 |
Press menu → Statistics → Stat Calculations → One-Variable Statistics. Set X1 List to data and leave the frequency list as 1. Press enter on OK. |
One-Variable Statistics X1 List: data Frequency List: 1 |
The results are listed in columns. x̄ is the mean and σx := σnx is the standard deviation, the one to use. sx := sn-1x is not needed. Scroll down for MinX, Q1X, MedianX, Q3X and MaxX. Mean and standard deviation , each to 3 significant figures. |
x̄:6.75 Σx:54 Σx²:396 sx:=sn-1x:2.12132 σx:=σnx:1.98431 n:8 MinX:4 Q1X:5 MedianX:6.5 Q3X:8.5 MaxX:10 |
Another way: type the list directly | |
On a Calculator page, type |
OneVar {4,5,5,6,7,8,9,10} x̄:6.75 |
For a frequency table, put the values in one column and the frequencies in another, and set Frequency List to the frequency column.
Sources. Key presses follow the manufacturers' documentation: the TI-84 Plus CE eGuide, the TI-Nspire eGuide, the Casio fx-CG50 Software User's Guide (version 3.30) and the Casio fx-CG100 online manual.
What to write in the exam
- Write the result, not the key presses. For example, say the mean is and the standard deviation is , found using your calculator. The examiner needs the values and their meaning.
- Use the standard deviation , not , unless the question says otherwise.
- Give 3 significant figures unless the question says otherwise, and keep the full calculator value for later parts instead of re-typing a rounded one.
- Check the count n on the results screen: it should equal the number of values you meant to enter. A wrong n means a value is missing or repeated.
- Check which papers allow a calculator. In AA SL and AA HL, Paper 1 is calculator-free, so use the formulas there. In AI SL and AI HL a calculator is allowed on every paper (check your syllabus).
Data in a frequency table
Suppose the data is given as a frequency table:
| Value | 1 | 2 | 3 | 4 | 5 |
|---|---|---|---|---|---|
| Frequency | 3 | 5 | 8 | 4 | 2 |
Enter the values 1, 2, 3, 4, 5 in one list and the frequencies 3, 5, 8, 4, 2 in a second list, then tell the calculator to use the second list as the frequencies (see the frequency steps for your calculator above). The results are , mean and standard deviation to 3 significant figures. The calculator counts each value as many times as its frequency, so do not type a value repeatedly.
To draw a box plot from these quartiles, see box-and-whisker plot and quartiles.
Error messages and what to do
| Calculator | Message | Usual cause | What to try |
|---|---|---|---|
| TI-84 Plus CE | ERR:DIMENSION MISMATCH | The data list and the frequency list do not have the same number of values. | Check that L1 and the frequency list have the same number of entries, and that you chose the right lists. |
| TI-84 Plus CE | ERR:DOMAIN | A frequency is outside the allowed range, for example a negative frequency. | Check the frequency list: each frequency must be zero or more. |
| Casio fx-CG50 | Dimension ERROR | The data list and the frequency list have different numbers of values. | Make the two lists the same length, or set 1Var Freq to 1. |
| Casio fx-CG50 | Out of Domain | The frequency list contains a negative value. | Correct the frequency list: frequencies must be zero or more. |
| Casio fx-CG100 | Dimension ERROR | The data list and the frequency list have different numbers of values. | Make the two lists the same length, or set 1Var Freq to 1. |
| Casio fx-CG100 | Out of Domain | The frequency list contains a negative value. | Correct the frequency list: frequencies must be zero or more. |
| TI-Nspire CX | Dimension mismatch | The data list and the frequency list do not have the same number of values. | Make the two lists the same length. |
| TI-Nspire CX | Domain error | A frequency is outside the allowed range, for example a negative frequency. | Correct the frequency list: frequencies must be whole numbers of zero or more. |
Common mistakes
- Using sx instead of σx. sx is the n - 1 version. The IB questions here use σx.
- Leaving old data in the list. If the list already held numbers, n and the mean are wrong. Clear the list first and check n.
- Forgetting the frequency list. With a frequency table, run the statistics with the frequency list switched on, or the calculator treats every value as occurring once.
- Leaving an old frequency list switched on. After a frequency table, set the frequency back to 1 (or leave it empty) for a plain list.
- Writing key presses as working. Write the values and what they mean. The examiner needs the method and the numbers, not the keys.
Try it yourself
Real questions from the IB Maths Help question bank. Type your answer and press Mark it: the worked solution and mark scheme then appear. Use your calculator for the summary statistics.
Practise with your calculator
Choose your course to see the practice sets that use this skill. You can also try practice mode or browse every GDC guide.
Quick questions
How do I find the mean and standard deviation on a calculator?
Enter the data into a list, then run one-variable statistics: 1-Var Stats on the TI-84 Plus CE (stat, CALC), 1-VAR on the fx-CG50 (Statistics, then CALC), Calculate Summary Statistics then 1-Variable on the fx-CG100, or One-Variable Statistics on the TI-Nspire (Statistics, Stat Calculations). Read x-bar for the mean and the sigma-x value for the standard deviation.
Which standard deviation do I use, sx or σx?
Use σx unless the question says otherwise. The sx value is the n - 1 version and is a little larger.
How do I enter a frequency table?
Type the values in one list and the frequencies in a second list, then set the frequency list in the one-variable statistics options. The calculator then counts each value as many times as its frequency.
Why are the quartiles different from the ones I worked out by hand?
The calculator finds Q1 and Q3 as the medians of the lower and upper halves of the data. For some data sets a different convention gives slightly different quartiles, so follow the method your course uses and check it against the calculator.