43Sample mean and variance
Data: . Find the sample mean and the sample variance (dividing by ). Give the answer to 4 decimal places.
Mean = sum ÷ n = 40/8 = 5.0000. Variance = sum of squared deviations ÷ (n−1) = 32/7 = 4.5714. Dividing by n−1 (not n) gives the unbiased sample variance. Check: 7 × 4.5714 ≈ 32.0000 ✓.