Probability
1. Counting and elementary probability
- Classical probability: when all outcomes are equally likely.
- Permutations and combinations: arrangements; choices; multinomial .
- Stars and bars: nonnegative integer solutions of : .
- Inclusion–exclusion: . "At least one of each colour" .
- Derangements: .
- Geometric probability: probability .
Conditional probability and independence
- ; multiplication rule .
- Total probability: for a partition .
- Bayes: . (Typical: test sensitivity and prevalence.)
- independent iff . Pairwise independence does not imply mutual independence.
2. Random variables and expectation
- CDF: : nondecreasing, right-continuous, , . .
- Discrete: pmf ; continuous: density with .
- Expectation: or . Linear: always.
- Tail formula: for , ; for integer , .
- Variance: , . .
- Indicators: gives . (Expected fixed points of a random permutation: .)
- Moment generating function: ; ; it determines the distribution.
Inequalities
- Markov: for .
- Chebyshev: , so .
- Jensen: for convex .
3. Standard distributions
| Distribution | pmf / pdf | Mean | Variance |
|---|---|---|---|
| Bernoulli | |||
| Binomial | |||
| Geometric (trials to first success) | |||
| Negative binomial (trials to -th success) | |||
| Poisson | |||
| Uniform | |||
| Exponential (rate ) | |||
| Gamma | |||
| Beta | |||
| Normal |
- Memoryless: for the exponential (and geometric).
- Transformations: if with monotone, . If Uniform then Exp, and has CDF .
- Poisson approximation: Binomial Poisson for large , small .
4. Joint distributions
- Joint density ; marginal ; conditional .
- Independence: (the support must be a product set).
- Covariance: ; ; correlation . Independent uncorrelated, not conversely (except jointly normal).
- Conditional expectation: ; .
- Sums: the density of (independent) is the convolution . Sums of independent Poissons, normals, gammas (same rate) stay in the family.
- Order statistics of an i.i.d. sample with CDF : , . The minimum of i.i.d. Exp is Exp.
- Change of variables: .
Multivariate normal and sampling distributions
- Linear combinations of a jointly normal vector are normal; for jointly normal variables, uncorrelated means independent.
- If are i.i.d. : , , and , are independent.
- is a sum of squared standard normals; ; (independent 's).
5. Limit theorems
- Convergence in probability: . In distribution: at continuity points of .
- Weak law of large numbers: for i.i.d. with finite mean , in probability (Chebyshev gives it when the variance is finite). So .
- Central limit theorem: for i.i.d. with mean and variance , in distribution. E.g. for Exp sums, ; for , .
- Continuous mapping: if then for continuous . Slutsky: if in distribution and , then and .
- Delta method: .