For a continuous series: N = Σf, L = lower limit of the class, c.f. = cumulative frequency of the class before, f = frequency of the class, i = class width, m = mid-value, x̄ = mean.
Quartiles
| Quartile | Class | Value |
|---|---|---|
| First Q₁ | (N/4)th item | Q₁ = L + (N/4 − c.f.) × i/f |
| Second Q₂ (median) | (N/2)th item | Q₂ = L + (N/2 − c.f.) × i/f |
| Third Q₃ | (3N/4)th item | Q₃ = L + (3N/4 − c.f.) × i/f |
- Quartile deviation: QD = (Q₃ − Q₁)/2
- Coefficient of QD: (Q₃ − Q₁)/(Q₃ + Q₁)
Mean deviation
- From the mean: MD = Σf|m − x̄| / N; coefficient = MD / x̄
- From the median: MD = Σf|m − Md| / N; coefficient = MD / Md
Standard deviation (σ)
| Method | Formula |
|---|---|
| Direct | σ = √(Σfm²/N − (Σfm/N)²) |
| Actual mean | σ = √(Σf(m − x̄)²/N) |
| Assumed mean (d = m − A) | σ = √(Σfd²/N − (Σfd/N)²) |
| Step deviation (d′ = (m − A)/i) | σ = √(Σfd′²/N − (Σfd′/N)²) × i |
- Coefficient of variation: CV = (σ/x̄) × 100%
- Smaller CV: the data are more consistent (uniform). When comparing two sets, the one with the smaller CV is the more consistent.
- Larger CV: more variation, less consistent.
- CV has no upper limit: it can be more than 100% when σ is larger than the mean.
Box-and-whisker plot
Five numbers: minimum, Q₁, Q₂ (median), Q₃, maximum. Each of the four parts holds 25% of the data; the box runs from Q₁ to Q₃.
Worked example
Q₁ = 20 and Q₃ = 40. Find the quartile deviation and its coefficient.
- QD = (40 − 20)/2 = 10
- Coefficient = (40 − 20)/(40 + 20) = 20/60 ≈ 0.33