Example 1
classic set [2,4,4,4,5,5,7,9]: population σ = 2 exactly
Given
- data
- 1.2
- 2.4
- 3.4
- 4.4
- 5.5
- 6.5
- 7.7
- 8.9
Assumptions
- Quartiles use linear interpolation between order statistics (textbook methods differ slightly at small n).
Solution steps
Center of the data
The mean is the arithmetic average; the median is the middle of the sorted values.
x̄ = Σxᵢ / n
n = 8; x̄ = 5; median = 4.5
= 5
Spread of the data
Sample statistics divide by n − 1 (estimating from a sample); population statistics divide by n (the data IS the whole population). Exams usually want the SAMPLE version unless told otherwise.
s² = Σ(xᵢ − x̄)²/(n − 1); σ² = Σ(xᵢ − x̄)²/n
Σ(xᵢ − x̄)² = 32; sample s = 2.1381; population σ = 2
= 2.1381
Quartiles
Q1 and Q3 bracket the middle half of the data; their difference is the interquartile range.
IQR = Q3 − Q1
Q1 = 4; Q3 = 5.5; IQR = 1.5; range = 7
Mode
The most frequent value.
Mode = 4 (appears 3 times)
Results
Number of observations n
8
Mean x̄
5
Median
4.5
Sample standard deviation s
2.1381
Population standard deviation σ
2
Sample variance s²
4.5714
Population variance σ²
4
Range
7
First quartile Q1
4
Third quartile Q3
5.5
Interquartile range
1.5
Coefficient of variation s/x̄
0.4276
Mode (most frequent value)
4
Where this answer was checked
- source
- Standard worked example for population standard deviation — n=8, μ=5, Σ(x−μ)² = 32
- verified by
- hand-recomputed
- derivation
- mean = 40/8 = 5. Deviations² = 9+1+1+1+0+0+4+16 = 32. σ² = 32/8 = 4 → σ = 2. s² = 32/7 = 4.5714 → s = 2.1381. median = (4+5)/2 = 4.5; mode = 4 (three times).