Chalk−1

Math · Introductory statistics · Worked example

Find the mean, median and standard deviation

Eight students report how many hours they slept: 4, 8, 6, 5, 3, 7, 9 and 6. Find the mean, the median and the sample standard deviation.

Find the mean

The eight values add to 48.

4+8+6+5+3+7+9+68=6

Find the median

Sorted: 3, 4, 5, 6, 6, 7, 8, 9. With eight values, the median is the average of the 4th and 5th, both 6.

6+62=6

Square the deviations

Subtracting 6 from each value gives −2, 2, 0, −1, −3, 1, 3 and 0. They add to 0, as deviations from the mean always do. Their squares add to 28.

4+4+0+1+9+1+9+0=28

Divide by n − 1 and take the root

288−1=2

Result

Mean 6 hours, median 6 hours, sample standard deviation 2 hours.

Your turn

Find the mean and the sample standard deviation of 10, 12, 14, 16 and 18.

Show the answer and explanation

Mean 14; s = √10 ≈ 3.16.

The deviations are −4, −2, 0, 2 and 4, whose squares add to 40. Divide by n − 1 = 4 to get 10, then take the square root.

10+12+14+16+185=14404≈3.16

Keep exploring

In Statistics, the Summary shows the mean 6, the median 6 and the sample standard deviation 2. The population standard deviation beside it, about 1.87, divides by 8 instead of 7.

Return to the concept →
Sources and scope

Authored study material. Tool results depend on the stated inputs and model assumptions.

Make it concrete

Try in the workspace

Open the example inputs, change a value and keep a useful result on your board.

Summarize the data in Statistics Check the arithmetic in Math Open worked example on a board Sample standard deviation in Math Reference

Your existing work stays on this device. Examples open as editable copies.