Formulas and facts
- ā\bar{x} = \dfrac{\sum x_i}{n}ā, so ā\sum x_i = n\bar{x}ā. With frequencies: ā\bar{x} = \dfrac{\sum f_i x_i}{\sum f_i}ā, āx_iā the class mark.
- Deviations from the mean add to zero. ā\sum (x_i - a) = \sum x_i - naā.
- Add ābā to each: mean ā+ bā. Each becomes āax_i + bā: mean becomes āa\bar{x} + bā.
- Combined mean ā= \dfrac{n_1\bar{x}_1 + n_2\bar{x}_2}{n_1 + n_2}ā.
- First ānā natural numbers: mean ā\dfrac{n + 1}{2}ā; mean of their squares ā\dfrac{(n + 1)(2n + 1)}{6}ā.
- Median: position ā\dfrac{n + 1}{2}ā (ānā odd); mean of positions ā\dfrac{n}{2}ā and ā\dfrac{n}{2} + 1ā (ānā even).
- Grouped median ā= l + \dfrac{\frac{N}{2} - cf}{f} \times hā, ācfā of the class before.
- Grouped mode ā= l + \dfrac{f_1 - f_0}{2f_1 - f_0 - f_2} \times hā.
- Mode ā\approx 3\,\text{Median} - 2\,\text{Mean}ā.
- GM ā= (x_1 x_2 \cdots x_n)^{1/n}ā, HM ā= \dfrac{n}{\sum \frac{1}{x_i}}ā; AM ā\geā GM ā\geā HM.
Quick methods
- Work with sums, not means: old sum ān\bar{x}ā, correct it, divide by the new count.
- Removed number ā=ā old sum ā-ā new sum (9 numbers with mean 20, 8 left with mean 18: ā180 - 144 = 36ā).
- Deviations from āaā given: mean ā= a + \dfrac{\sum (x_i - a)}{n}ā.
- Unknown frequency āpā: set ā\sum f_i x_i = \bar{x}\sum f_iā and solve.
- Changing the largest value to another value that is still the largest moves the mean, not the median.
- Same distance at two speeds: harmonic mean. Same time at two speeds: ordinary mean.
Traps
- ā\sum (2x_i + 4) = 2\sum x_i + 4nā, not ā+ 4ā.
- Median from unsorted data. Sort first.
- ācfā of the median class itself instead of the class before it.
- Averaging two speeds directly when the distances are equal.
- Dividing the new sum by the old count; using lower or upper class limits instead of class marks.
Check yourself
- Mean 7; each āxā becomes ā3x + 2ā. New mean? [23]
- 20 cadets with mean 48 and 30 with mean 58. Combined mean? [54]
- āl = 40ā, āf_1 = 20ā, āf_0 = 12ā, āf_2 = 8ā, āh = 10ā. Mode? [44]