How to Calculate Standard Deviation and Linear Regression on a Scientific Calculator
For standard deviation press MODE 3 (SD), type each value followed by M+, then press SHIFT 2 and choose xσn or xσn-1. For linear regression press MODE 4 then 1 (Lin), enter each pair as x , y M+, then read A, B and r from SHIFT 2. For the data 2, 4, 4, 4, 5, 5, 7, 9 the mean is 5 and the population standard deviation is 2.
Try it on the calculator. Press the keys yourself, or watch an example being keyed in:
Scientific constants CONST 01–40
Unit conversions SHIFT CONST 01–40
Step by step
Switch to SD mode
MODE3Press MODE, then 3 for SD. An SD indicator appears at the top of the display. This mode stores a list of single values.
Enter each value with M+
2M+4M+4M+Type a value and press M+ (the DT key). The display shows n= and how many values are stored, so you can check you have not missed one. Keep going until every value is in.
Use a frequency for repeated values
4SHIFT,3M+If a value appears several times, type the value, press SHIFT and the comma key (it types a semicolon), type the frequency, then press M+. 4 ; 3 M+ stores the value 4 three times.
Open the results menu
ACSHIFT2Press AC to clear the screen, then SHIFT 2. The menu shows x̄ (1), xσn (2) and xσn-1 (3). Press 1 for the mean, 2 for the population standard deviation, or 3 for the sample standard deviation.
Press = for the answer
=For 2, 4, 4, 4, 5, 5, 7, 9 the mean is 5, the population standard deviation (xσn) is 2, and the sample standard deviation (xσn-1) is 2.138089935. SHIFT 1 opens the sums: Σx² (1), Σx (2) and n (3).
Population or sample standard deviation?
xσn divides by n and is the population standard deviation. Use it when your data is the whole group. xσn-1 divides by n − 1 and is the sample standard deviation. Use it when your data is a sample taken from a larger group. For the same data they differ: 2 and 2.138089935. Check your question or exam instructions to see which one is wanted.
Linear regression step by step
Press MODE 4 to open the regression menu, then 1 for Lin. REG mode stores pairs, so type x, press the comma key, type y, then press M+. The display shows 1,2 while you type the first pair.
MODE411,2M+After the last pair, press AC, then SHIFT 2. Press ▶ twice to reach the page with A, B and r. Press 1 for A (the intercept), 2 for B (the slope) or 3 for r (the correlation coefficient). For the points (1, 2), (2, 4), (3, 5), (4, 4), (5, 5) the line is y = 2.2 + 0.6x and r is 0.7745966692.
The other types are on the same first menu: Log and Exp sit beside Lin, and the second page has Pwr, Inv and Quad.
Predicting x or y from the regression line
To estimate y for a given x, type the x value, press SHIFT 2, press ▶ three times to reach the last page, then press 2 for ŷ and press =. For x = 6 the calculator shows 5.8. On the same page, 1 is x̂, which estimates x for a given y. Typing 7 then x̂ gives 8.
6SHIFT2▶▶▶2=Clearing data and leaving the mode
Clear the old data before you start a new set, or the new values are added to the old ones. Press SHIFT MODE, then 1 for Scl, then =. To go back to normal calculating press MODE then 1 for COMP.
SHIFTMODE1=Common mistakes and errors
- Syntax ERROR when you press SHIFT 1 or SHIFT 2
- You are not in SD or REG mode. The statistics menus only work after MODE 3 (SD) or MODE 4 (REG).
- Answers that include old data
- Earlier values are still stored. Clear them with SHIFT MODE 1 = before entering a new set, and check n matches the number of values you meant to enter.
- Using xσn when the question wants the sample standard deviation
- xσn is for a whole population and xσn-1 is for a sample. Using the wrong one gives a slightly different answer.
- A value is missing from the count
- Each value only counts after you press M+. After every M+ the display shows n=, so watch that number rise as you enter data.
Frequently asked questions
How do I find the mean on a scientific calculator?
In SD mode enter the values with M+, press AC, then SHIFT 2 and 1 for x̄ and press =. For 2, 4, 4, 4, 5, 5, 7, 9 the mean is 5.
How do I see how many values I entered?
The display shows n= after each M+. You can also press SHIFT 1, then 3 for n, and press =.
How do I find the sum of the values?
Press SHIFT 1, then 2 for Σx, or 1 for Σx², and press =. For the example data Σx is 40 and Σx² is 232.