SJMathTube · Formula Library⌂ Home
SJMATHTUBE · PROBABILITY & STATISTICS

Mean, Variance and Standard Deviation Formula Sheet

Population and sample formulas, frequency tables and measures of spread, explained clearly.

Explore the digital workbook →

Choose the right notation

Population mean

\[\displaystyle \mu=\frac{1}{N}\sum\limits_{i=1}^{N}x_i\]

μ is the population mean; N is the number of population values.

Sample mean

\[\displaystyle \bar{x}=\frac{1}{n}\sum\limits_{i=1}^{n}x_i\]

x̄ is the sample mean; n is the sample size.

Population variance and standard deviation

\[\displaystyle \sigma^{2}=\frac{1}{N}\sum\limits_{i=1}^{N}(x_i-\mu)^2,\qquad \sigma=\sqrt{\sigma^{2}}\]

Divide by N when the data describe the complete population.

Sample variance and standard deviation

\[\displaystyle s^{2}=\frac{1}{n-1}\sum\limits_{i=1}^{n}(x_i-\bar{x})^{2},\qquad s=\sqrt{s^{2}}\]

Divide by n − 1 for the usual sample variance; n must be greater than 1.

Calculation form: sample variance

\[\displaystyle s^2=\frac{\displaystyle\sum\limits_{i=1}^{n}x_i^2-\frac{\left(\displaystyle\sum\limits_{i=1}^{n}x_i\right)^2}{n}}{n-1}\]

This gives the same sample variance as the deviation formula.

Frequency tables and grouped data

Mean from a frequency table

\[\displaystyle \bar{x}=\frac{\displaystyle\sum\limits_{j=1}^{k}f_jx_j}{\displaystyle\sum\limits_{j=1}^{k}f_j}\]

fⱼ is the frequency of value xⱼ. For grouped intervals use each class midpoint; the result is approximate.

Standard deviation with frequencies

\[\displaystyle s=\sqrt{\frac{\displaystyle\sum\limits_{j=1}^{k}f_j(x_j-\bar{x})^2}{n-1}},\qquad n=\sum\limits_{j=1}^{k}f_j\]

For a sample frequency table. For a full population, replace n − 1 by N and x̄ by μ.

Coefficient of variation

\[\displaystyle \mathrm{CV}=\frac{s}{\bar{x}}\times100\%\]

Use for meaningful positive means; for population data use σ and μ. A smaller CV indicates less relative spread.

Weighted mean

\[\displaystyle \bar{x}_{w}=\frac{\displaystyle\sum\limits_{i=1}^{k}w_i x_i}{\displaystyle\sum\limits_{i=1}^{k}w_i}\]

Weights must have a nonzero total.

Combined mean

\[\displaystyle \bar{x}=\frac{n_1\bar{x}_1+n_2\bar{x}_2}{n_1+n_2}\]

Combine two groups using their sizes and means.

Position and spread

Range and interquartile range

\[\displaystyle \text{Range}=x_{\max}-x_{\min},\qquad \mathrm{IQR}=Q_3-Q_1\]

Sort the observations first. State the quartile convention your course uses.

Grouped-data median

\[\displaystyle \text{Median}\approx L+\frac{\frac{n}{2}-F}{f}\,h\]

L: lower class boundary; F: cumulative frequency before the median class; f: its frequency; h: class width.

Grouped-data mode

\[\displaystyle \text{Mode}\approx L+\frac{f_1-f_0}{2f_1-f_0-f_2}\,h\]

For equal-width classes: f₁ is modal-class frequency; f₀ and f₂ are adjacent frequencies.

‹›
Formulae

Available Formula Sheets

⌂ Home
Latest
Latest Content Auto
Home