Probability and Statistics formula sheet
156 formulas in 7 topics, each with when to use it. Each is explained in the topic notes.
Permutations of r from n distinct objects (order matters, no repetition)
Selecting and arranging r of n distinct objects. P(n,n) = n! is the number of orderings of all n, and P(n,0) = 1 because 0! = 1.
Combinations of r from n distinct objects (order does not matter)
Selecting r of n distinct objects with no arrangement. Related to permutations by P(n,r) = r! times the binomial coefficient. The binomial coefficient is taken as 0 when r > n.
Conditional probability
Defined when . For fixed , is itself a probability measure, so .
Multiplication rule (two events)
The first form needs , the second needs . No independence is needed.
Arithmetic mean
Raw data. For grouped data with frequencies and class midpoints , use . This treats every value as sitting at its class midpoint, so it is an approximation unless the values really are the midpoints.
Median of raw data
Here is the -th smallest value; sort first.
PMF conditions (discrete)
Use the second condition to find an unknown constant in a given PMF.
PDF conditions (continuous)
A density can exceed 1 at a point; only its integral is a probability.
Discrete uniform PMF
Applies when each of the n consecutive integers is equally likely; zero elsewhere.
Mean and variance (uniform on a to b)
Here n = b - a + 1 and the values are consecutive integers. The variance depends only on n, not on where the block starts.
Continuous random variables and the named distributions: exponential, Poisson, normal, t and chi-squared
All 31 formulasConditions on a PDF
Use the total area equal to 1 to find an unknown constant in a given density.
Cumulative distribution function (CDF)
F is non-decreasing and, for a continuous X, continuous. Its limits are 0 as x goes to -infinity and 1 as x goes to +infinity. The PDF is the derivative of the CDF wherever the derivative exists.
Mean and standard error of the sample mean
Needs independent observations with a common mean and finite variance ; no normality is needed. SE (standard error) is the standard deviation of . When is unknown it is estimated by , where is the sample standard deviation (divisor , below).
Sample variance (divides by n − 1)
Dividing by makes an unbiased estimator of . Dividing by instead gives an estimator whose expectation is . Throughout these notes is the version.