Probability and Statistics Formula Sheet
Posted by Anonymous and classified in Mathematics
Written on in
English with a size of 6.05 KB
Probability Basics
- Addition Rule: P(A ∪ B) = P(A) + P(B) - P(A ∩ B)
- Complement Rule: P(A') = 1 - P(A)
- Conditional Probability: P(B | A) = P(A ∩ B) / P(A) (if P(A) > 0)
- Law of Total Probability: P(B) = Σ P(B | Ai)P(Ai)
- Bayes' Theorem: P(Ak | B) = P(B | Ak)P(Ak) / Σ P(B | Ai)P(Ai)
- Independence: P(A ∩ B) = P(A)P(B) → then P(A | B) = P(A)
Counting Principles
- Multiplication Rule: n1 × n2 × ...
- Permutation (Order Matters): nPr = n! / (n - r)!
- Combination (No Order): C(n, r) = n! / (r!(n - r)!)
- Distinguishable Permutations: n! / (n1! n2! ...)
- Probability (Equal Outcomes): P(A) = (# favorable) / (# total)
Discrete Distributions
Mean: E[X] = Σ x f(x) Variance: Var(X) = E[X2] - (E[X])2
- Binomial(n, p): P(X = x) = C(n, x)px(1 - p)n - x, E = np, Var = np(1 - p)
- Geometric(p): P(X = x) = p(1 - p)x - 1, x = 1, 2, ... E = 1/p, Var = (1 - p) / p2
- Negative Binomial(r, p): P(X = x) = C(x - 1, r - 1)pr(1 - p)x - r, E = r/p, Var = r(1 - p) / p2
- Poisson(λ): P(X = x) = e-λλx / x!, E = λ, Var = λ
- Hypergeometric(N1, N2, n): P(X = x) = C(N1, x)C(N2, n - x) / C(N1 + N2, n), E = n(N1 / (N1 + N2))
Continuous Distributions
- Uniform(a, b): f(x) = 1 / (b - a), E = (a + b) / 2, Var = (b - a)2 / 12
- Exponential(θ): f(x) = (1/θ)e-x/θ, E = θ, Var = θ2, memoryless
- Gamma(α, θ): f(x) = xα - 1e-x/θ / (θα Γ(α)), E = αθ, Var = αθ2
- Chi-square(ν): Special Gamma(ν/2, 2), E = ν, Var = 2ν
- Normal(μ, σ2): f(x) = 1 / (σ√(2π)) e-(x - μ)2 / (2σ2), E = μ, Var = σ2
Moment Generating Functions (MGF)
- Definition: M(t) = E[etX], then E[Xn] = M(n)(0)
- Independent Sum: MX+Y}(t) = MX(t) MY(t)
Two Random Variables
- Joint PMF/PDF: Sum/Integral = 1
- Marginal: fX(x) = Σy f(x, y) or ∫ f(x, y) dy
- Conditional: fX|Y}(x|y) = f(x, y) / fY(y)
- Independence: f(x, y) = fX(x)fY(y) for all x, y.
- Adam's Law (Total Expectation): E[X] = E[E[X | Y]]
- Eve's Law (Total Variance): Var(X) = Var(E[X | Y]) + E[Var(X | Y)]
- Covariance: Cov(X, Y) = E[XY] - E[X]E[Y]
- Correlation: ρ = Cov(X, Y) / (σX σY), -1 ≤ ρ ≤ 1
- Note: If independent → Cov = 0 (reverse not true unless bivariate normal).
- Variance of Sum: Var(X ± Y) = Var(X) + Var(Y) ± 2Cov(X, Y)
- Bivariate Normal: X | Y = y ~ N( μX + ρ(σX / σY)(y - μY), σX2(1 - ρ2) )
- Note: If ρ = 0 then X and Y are independent (unique to bivariate normal).
Transformations
- Continuous, Monotone: Y = g(X), inverse X = v(Y) → fY(y) = fX(v(y)) · |v'(y)|
- Two Variables: Jacobian J = determinant of partial derivatives, fU,V} = fX,Y} · |J|
Sample Mean and Variance
For a Normal sample:
- X̄ ~ N(μ, σ2 / n)
- (n - 1)S2 / σ2 ~ χ2(n - 1) with S2 = Σ(Xi - X̄)2 / (n - 1)
- X̄ and S2 are independent.
Central Limit Theorem (CLT)
For i.i.d. variables with mean μ, variance σ2, and large n:
- (X̄ - μ) / (σ / √n) ≈ N(0, 1) and (ΣXi - nμ) / (√n σ) ≈ N(0, 1)
- Continuity Correction: For discrete variables, use ±0.5 around the integer.
Common MGF Reference
- Binomial: (1 - p + pet)n
- Poisson: eλ(et - 1)
- Geometric: pet / (1 - (1 - p)et)
- Negative Binomial: [pet / (1 - (1 - p)et)]r
- Normal: eμt + σ2t2 / 2
- Gamma: (1 - θt)-α
- Chi-square: (1 - 2t)-ν/2