Grades of 8 students (whole class)
- Input
- 2, 4, 4, 4, 5, 5, 7, 9
- Expected output
- σ = 2
Squared deviations add up to 32; dividing by N=8 gives variance 4 and σ=√4=2.
population standard deviation
Population standard deviation divides the sum of squared deviations by N, the total count, because every member of the group has already been measured and μ is known exactly, with no correction needed. The formula is σ = √(Σ(xᵢ−μ)²/N).
Squared deviations add up to 32; dividing by N=8 gives variance 4 and σ=√4=2.
Population variance = 4.8/5 = 0.96; σ = √0.96 ≈ 0.9798, about 12% smaller than the sample standard deviation of the same numbers.
Mean 6; squared deviations sum to 26; population variance 26/4=6.5; σ=√6.5≈2.5495.
Population (σ) divides the sum of squared differences by N. Sample (s) divides by N−1 (Bessel's correction), giving an unbiased estimate of population variance when working with a sample.
Use the sample standard deviation (s), which divides by N−1. σ is only correct when the data covers 100% of the group under study, not a sample of it.
Not very: for grades 2,4,4,4,5,5,7,9, σ=2 (÷8) against s≈2.1381 (÷7), a difference of about 7%. The larger N gets, the smaller the impact of Bessel's correction.
No; you choose the type before calculating. The formula only changes in the divisor (N for population, N−1 for sample), so the same set of numbers produces two different results depending on the option selected.
All calculations stay in your browser. No data is sent to any server.