All Categories

Statistics & Probability

Averages, spread, distributions and probability

Arithmetic Mean

Basic
xˉ=1ni=1nxi\bar{x} = \frac{1}{n}\sum_{i=1}^{n} x_i

The average of a data set.

View details

Median

Basic
M=middle value of ordered dataM = \text{middle value of ordered data}

The middle value separating the higher and lower halves.

View details

Variance

Intermediate
σ2=1ni=1n(xixˉ)2\sigma^2 = \frac{1}{n}\sum_{i=1}^{n}(x_i - \bar{x})^2

Average squared deviation from the mean.

View details

Standard Deviation

Intermediate
σ=1ni=1n(xixˉ)2\sigma = \sqrt{\frac{1}{n}\sum_{i=1}^{n}(x_i-\bar{x})^2}

Square root of the variance; typical spread.

View details

Z-Score

Intermediate
z=xμσz = \frac{x - \mu}{\sigma}

Number of standard deviations a value is from the mean.

View details

Bayes' Theorem

Intermediate
P(AB)=P(BA)P(A)P(B)P(A|B) = \frac{P(B|A)P(A)}{P(B)}

Updates a probability given new evidence.

View details

Combinations

Intermediate
(nr)=n!r!(nr)!\binom{n}{r} = \frac{n!}{r!(n-r)!}

Number of ways to choose r items from n (order irrelevant).

View details

Permutations

Intermediate
P(n,r)=n!(nr)!P(n,r) = \frac{n!}{(n-r)!}

Number of ordered arrangements of r items from n.

View details

Normal Distribution

Advanced
f(x)=1σ2πe(xμ)22σ2f(x) = \frac{1}{\sigma\sqrt{2\pi}}e^{-\frac{(x-\mu)^2}{2\sigma^2}}

Probability density of the bell curve.

View details

Binomial Distribution

Advanced
P(X=k)=(nk)pk(1p)nkP(X=k) = \binom{n}{k}p^k(1-p)^{n-k}

Probability of k successes in n trials.

View details

Poisson Distribution

Advanced
P(X=k)=λkeλk!P(X=k) = \frac{\lambda^k e^{-\lambda}}{k!}

Probability of k events in a fixed interval.

View details

Expected Value

Intermediate
E[X]=ixipiE[X] = \sum_i x_i\,p_i

The long-run average value of a random variable.

View details

Conditional Probability

Intermediate
P(AB)=P(AB)P(B)P(A|B) = \frac{P(A \cap B)}{P(B)}

Probability of A given B has occurred.

View details

Pearson Correlation

Advanced
r=(xixˉ)(yiyˉ)(xixˉ)2(yiyˉ)2r = \frac{\sum (x_i-\bar{x})(y_i-\bar{y})}{\sqrt{\sum(x_i-\bar{x})^2\sum(y_i-\bar{y})^2}}

Measures linear correlation between two variables.

View details

Standard Error of the Mean

Advanced
SE=σnSE = \frac{\sigma}{\sqrt{n}}

Standard deviation of the sample mean.

View details

Mode

Basic
Mode=most frequent value\text{Mode} = \text{most frequent value}

The value that appears most often in a data set.

View details

Range

Basic
R=xmaxxminR = x_{max} - x_{min}

The difference between the largest and smallest values.

View details

Factorial

Basic
n!=n×(n1)××2×1n! = n\times(n-1)\times\cdots\times 2\times 1

Product of all positive integers up to n.

View details

Geometric Mean

Intermediate
GM=x1x2xnnGM = \sqrt[n]{x_1 x_2 \cdots x_n}

The nth root of the product of n values.

View details

Interquartile Range

Intermediate
IQR=Q3Q1IQR = Q_3 - Q_1

The spread of the middle 50% of the data.

View details

Coefficient of Variation

Intermediate
CV=σxˉ×100%CV = \frac{\sigma}{\bar{x}}\times 100\%

Relative variability as a percentage of the mean.

View details

Range

Basic
R=xmaxxminR = x_{max} - x_{min}

Difference between the largest and smallest values.

View details

Interquartile Range

Intermediate
IQR=Q3Q1IQR = Q_3 - Q_1

Spread of the middle 50% of the data.

View details

Covariance

Advanced
cov(X,Y)=1n(xixˉ)(yiyˉ)\text{cov}(X,Y) = \frac{1}{n}\sum (x_i-\bar{x})(y_i-\bar{y})

Measures how two variables vary together.

View details

Coefficient of Variation

Intermediate
CV=σμ×100CV = \frac{\sigma}{\mu}\times 100

Relative variability as a percentage of the mean.

View details

Percentile Rank

Basic
PR=belown×100PR = \frac{\text{below}}{n}\times 100

Percentage of values below a given score.

View details

Margin of Error

Advanced
E=zσnE = z\frac{\sigma}{\sqrt{n}}

Half-width of a confidence interval for the mean.

View details

Confidence Interval (Mean)

Advanced
xˉ±zσn\bar{x} \pm z\frac{\sigma}{\sqrt{n}}

Range likely to contain the population mean.

View details

Z-Test Statistic

Advanced
z=xˉμ0σ/nz = \frac{\bar{x} - \mu_0}{\sigma/\sqrt{n}}

Tests whether a sample mean differs from a hypothesized value.

View details

Chi-Square Statistic

Advanced
χ2=(OE)2E\chi^2 = \sum \frac{(O-E)^2}{E}

Tests goodness of fit between observed and expected counts.

View details

Mode

Basic
most frequent value\text{most frequent value}

The value that appears most often in a data set.

View details

Weighted Mean

Intermediate
xˉw=wixiwi\bar{x}_w = \frac{\sum w_i x_i}{\sum w_i}

Average where values carry different weights.

View details

Odds Form of Bayes

Advanced
O(AB)=O(A)×P(BA)P(B¬A)O(A|B) = O(A)\times \frac{P(B|A)}{P(B|\neg A)}

Updates odds using a likelihood ratio.

View details

Sample Variance

Intermediate
s2=1n1(xixˉ)2s^2 = \frac{1}{n-1}\sum(x_i-\bar{x})^2

Unbiased estimate of population variance.

View details