Statistics and probability
Mean, median and deviation, counting and classical probability — the mathematics of data and chance.
Topics in this branch
Branch formulas
Branch: Statistics and probability
Mean, median and mode
Arithmetic mean
the sum of all the data divided by how many there are
Total from the mean
this is how a missing value is recovered when the mean is known
Median — an odd sample
once sorted, it is exactly the middle number
Median — an even sample
the mean of the two middle values
Mode
the number that occurs most often — there may be none at all
Weighted mean
every value counts as many times as its weight says
Variance and deviation
Range
the simplest measure of spread — it looks only at the two extremes
Deviation from the mean
the deviations always sum to zero, which is why they cannot be averaged as they are
Variance
the mean of the squared deviations from the mean
Standard deviation
the square root of the variance — back in the units of the data
Shortcut formula
the mean of the squares minus the square of the mean — quicker to compute
Sample variance
divisor n − 1, when the data is a sample drawn from a larger population
Combinatorics
Rule of product
a choice made in several independent steps — multiply the counts
Factorial
the product of the first n naturals; 0! equals 1 by definition
Permutations
the number of orderings of all n items
Arrangements without repetition
choose k out of n, order matters, nothing repeats
Arrangements with repetition
k times over, we choose from the same n options
Combinations
choose k out of n, order does NOT matter
Symmetry of combinations
choosing k items is the same as discarding the other n − k
Classical probability
Classical probability
favourable outcomes over the number of all possible ones
Range of a probability
never below 0 and never above 1
Impossible and certain events
edge cases of the definition, not results of a computation
Complementary event
counting "not A" is often easier than counting A
As a percentage
the same probability expressed in percent
Independent events
multiply the probabilities — only when one does not affect the other
