Statistics formulas with examples
Measures of center, then measures of spread. One small data set, 4, 8, 6, 5, 3, 8, 9, is used for the first four so you can compare them.
Center
Mean
x̄ = sum of values ÷ number of values
Try your own numbersExample: 4, 8, 6, 5, 3, 8, 9
43 ÷ 7 ≈ 6.14
Median
the middle value in order (average the two middle values if the count is even)
Try your own numbersExample: 3, 4, 5, 6, 8, 8, 9
6
Mode
the most common value
Try your own numbersExample: 4, 8, 6, 5, 3, 8, 9
8
Weighted mean
Σ(value × weight) ÷ Σweights
Try your own numbersExample: Scores 90, 80, 70 weighted 50%, 30%, 20%.
(4,500 + 2,400 + 1,400) ÷ 100 = 83
Spread
Range
max − min
Try your own numbersExample: 4, 8, 6, 5, 3, 8, 9
9 − 3 = 6
Interquartile range
IQR = Q3 − Q1
Try your own numbersExample: 6, 7, 15, 36, 39, 40, 41, 42, 43, 47, 49
Q1 = 15, Q3 = 43, IQR = 28
Standard deviation
σ = √(Σ(x − μ)² ÷ N) (population); s uses n − 1
Try your own numbersExample: 2, 4, 4, 4, 5, 5, 7, 9
μ = 5, Σ(x − μ)² = 32, σ = √4 = 2
Z-score
z = (x − μ) ÷ σ
Try your own numbersExample: A score of 85 when μ = 70 and σ = 10.
z = 1.5
TaleemSquare Statistics formulas · taleemsquare.com/math-formulas/statistics-formulas