RAPID EXAM REFERENCE · 1-PAGE SUMMARIES

Probability and Statistics Cheat Sheets

One page per topic for when you have 10 minutes before an exam: the core rule, the formulas, and the traps.

Probability Axioms, Counting & Bayes' Theorem

Combinatorics, Probability Axioms & Conditional Independence

Open Full Lesson →

Events A and B are independent iff P(A ∩ B) = P(A) * P(B). Two non-empty events cannot be simultaneously independent AND mutually exclusive.

Must-Remember Principles:
  • —Permutations (ordered): P(n, r) = n! / (n - r)!. Combinations (unordered): C(n, r) = n! / [ r! (n - r)! ].
  • —Kolmogorov Axioms: 1) P(E) >= 0; 2) P(S) = 1; 3) For mutually disjoint events, P(Union E_i) = Sum P(E_i).
  • —Inclusion-Exclusion (2 events): P(A ∪ B) = P(A) + P(B) - P(A ∩ B).
  • —Inclusion-Exclusion (3 events): P(A ∪ B ∪ C) = P(A) + P(B) + P(C) - P(A ∩ B) - P(B ∩ C) - P(A ∩ C) + P(A ∩ B ∩ C).
  • —Conditional Probability: P(A | B) = P(A ∩ B) / P(B), provided P(B) > 0.
  • —Pairwise vs Mutual Independence: Pairwise independence P(A_i ∩ A_j) = P(A_i) P(A_j) does NOT imply mutual independence P(A_1 ∩ ... ∩ A_k) = Prod P(A_i).
Critical Pitfalls & Exam Traps:
  • ×Mutually exclusive events satisfy P(A ∩ B) = 0. If P(A) > 0 and P(B) > 0, then P(A ∩ B) = 0 != P(A)P(B). Hence mutually exclusive events are DEPENDENT!
  • ×When sampling without replacement, events are dependent; with replacement, successive draws are independent.
Probability Axioms, Counting & Bayes' Theorem

The Law of Total Probability & Bayes' Theorem

Open Full Lesson →

Bayes' Theorem inverts conditional probabilities: P(A_k | B) = [ P(B | A_k) * P(A_k) ] / [ Sum_i P(B | A_i) * P(A_i) ].

Must-Remember Principles:
  • —Law of Total Probability: For a partition {A_1, ..., A_k} of sample space S, P(B) = Sum_{i=1}^k P(B | A_i) P(A_i).
  • —Bayes' Rule: P(A | B) = [ P(B | A) * P(A) ] / P(B).
  • —Posterior proportional to Likelihood * Prior: P(theta | D) ∝ P(D | theta) * P(theta).
  • —Odds Form of Bayes' Rule: Odds(A | B) = Odds(A) * [ P(B | A) / P(B | A^c) ], where P(B|A)/P(B|A^c) is the Bayes Factor.
Critical Pitfalls & Exam Traps:
  • ×Base Rate Fallacy: In rare disease testing (low prior P(D)), even a test with 99% accuracy produces a posterior P(D|+) far lower than expected due to false positives from the large healthy population.
Discrete & Continuous Distributions

Discrete Random Variables: PMF, CDF, Binomial & Poisson

Open Full Lesson →

Binomial: n independent trials with success probability p (Mean = np, Var = np(1-p)). Poisson: rare events with rate lambda (Mean = lambda, Var = lambda).

Must-Remember Principles:
  • —Expectation: E[X] = Sum x * p(x). Linearity: E[aX + bY + c] = a E[X] + b E[Y] + c (always holds!).
  • —Variance: Var(X) = E[X^2] - (E[X])^2. Scaling: Var(aX + b) = a^2 Var(X).
  • —Bernoulli: P(X=1) = p, P(X=0) = 1-p. Mean = p, Var = p(1-p).
  • —Binomial PMF: P(X = k) = C(n, k) * p^k * (1 - p)^{n - k} for k = 0, 1, ..., n.
  • —Poisson PMF: P(X = k) = ( e^{-lambda} * lambda^k ) / k! for k = 0, 1, 2, ...
  • —Poisson Approximation to Binomial: When n -> infinity and p -> 0 such that np = lambda (constant), Binomial(n, p) -> Poisson(lambda).
Critical Pitfalls & Exam Traps:
  • ×Linearity of Expectation holds for ALL random variables whether independent or dependent. Linearity of Variance Var(X + Y) = Var(X) + Var(Y) holds ONLY when Cov(X, Y) = 0.
  • ×For Poisson distribution, Mean = Variance = lambda. If Mean != Variance in empirical data, the distribution is not Poisson.
Discrete & Continuous Distributions

Continuous Random Variables: PDF, Uniform & Exponential

Open Full Lesson →

Continuous random variables have P(X = c) = 0 for any single point c. Probability is the area under PDF: P(a <= X <= b) = integral_a^b f(x) dx = F(b) - F(a).

Must-Remember Principles:
  • —PDF normalization: integral_{-inf}^{inf} f(x) dx = 1.
  • —CDF Definition: F(x) = P(X <= x) = integral_{-inf}^x f(t) dt. Derivative: f(x) = dF(x) / dx.
  • —Continuous Uniform U(a, b): f(x) = 1 / (b - a) on [a, b]. Mean = (a + b) / 2, Var = (b - a)^2 / 12.
  • —Exponential Exp(lambda): f(x) = lambda * e^{-lambda * x} for x >= 0. CDF: F(x) = 1 - e^{-lambda * x}.
  • —Exponential Moments: Mean E[X] = 1 / lambda, Variance Var(X) = 1 / lambda^2.
  • —Memoryless Property: P(X > s + t | X > s) = P(X > t). The ONLY continuous distribution with this property!
Critical Pitfalls & Exam Traps:
  • ×Do not confuse rate parameter lambda with scale parameter beta = 1/lambda. In GATE DA, verify whether the problem defines f(x) = lambda e^{-lambda x} or (1/beta) e^{-x/beta}.
  • ×P(a <= X <= b) = P(a < X < b) for continuous random variables because single points have zero measure.
Discrete & Continuous Distributions

The Normal (Gaussian) Distribution & Standard Score Math

Open Full Lesson →

Standard Normal Z = (X - mu) / sigma ~ N(0, 1). Normal distribution is symmetric about mu: Phi(-z) = 1 - Phi(z).

Must-Remember Principles:
  • —Gaussian PDF: f(x) = [ 1 / (sigma * sqrt(2*pi)) ] * exp( - (x - mu)^2 / (2 * sigma^2) ).
  • —Standard Normal PDF: phi(z) = [ 1 / sqrt(2*pi) ] * exp( - z^2 / 2 ).
  • —Symmetry Property: P(Z <= -z) = Phi(-z) = 1 - Phi(z).
  • —Empirical Rule: P(mu - sigma <= X <= mu + sigma) ≈ 68.27%; P(mu - 2*sigma <= X <= mu + 2*sigma) ≈ 95.45%; P(mu - 3*sigma <= X <= mu + 3*sigma) ≈ 99.73%.
  • —Linear Combination of Normals: If X_1 ~ N(mu_1, sigma_1^2) and X_2 ~ N(mu_2, sigma_2^2) are independent, then a X_1 + b X_2 ~ N(a mu_1 + b mu_2, a^2 sigma_1^2 + b^2 sigma_2^2).
Critical Pitfalls & Exam Traps:
  • ×Normal distribution variance scaling: Var(aX) = a^2 Var(X). When taking standard deviation, sigma_{aX} = |a| * sigma_X.
  • ×Inflection points of the Gaussian bell curve occur precisely at x = mu - sigma and x = mu + sigma.
Joint Distributions, Covariance & Limit Theorems

Joint Distributions, Marginalization & Conditional Expectation

Open Full Lesson →

Marginal PDF f_X(x) = integral_{-inf}^{inf} f(x, y) dy. Conditional expectation E[Y|X=x] = integral y * f_{Y|X}(y|x) dy is a FUNCTION of x.

Must-Remember Principles:
  • —Joint PDF Normalization: integral integral f(x, y) dx dy = 1.
  • —Marginal PDFs: f_X(x) = integral f(x, y) dy; f_Y(y) = integral f(x, y) dx.
  • —Conditional PDF: f_{Y|X}(y | x) = f(x, y) / f_X(x), provided f_X(x) > 0.
  • —Independence Criterion: X and Y are independent iff f(x, y) = f_X(x) * f_Y(y) for ALL (x, y).
  • —Law of Total Expectation: E[Y] = E_X[ E_{Y|X}[Y | X] ].
  • —Law of Total Variance (Eve's Law): Var(Y) = E[Var(Y|X)] + Var(E[Y|X]).
Critical Pitfalls & Exam Traps:
  • ×When integrating joint PDFs over coupled domains (e.g. 0 <= x <= y <= 1), the inner and outer integration limits must strictly respect boundary inequalities.
  • ×E[Y|X] is a RANDOM VARIABLE (a function of X); E[E[Y|X]] is a SCALAR equal to E[Y].
Joint Distributions, Covariance & Limit Theorems

Covariance, Correlation & Bivariate Gaussian Properties

Open Full Lesson →

Cov(X, Y) = E[XY] - E[X]E[Y]. If X, Y are independent, Cov(X, Y) = 0. The converse holds ONLY for jointly Gaussian variables!

Must-Remember Principles:
  • —Covariance: Cov(X, Y) = E[(X - mu_X)(Y - mu_Y)] = E[XY] - E[X]E[Y].
  • —Symmetry & Variance: Cov(X, X) = Var(X). Cov(X, Y) = Cov(Y, X).
  • —Bilinear Property: Cov(aX + bY, cZ + dW) = ac Cov(X, Z) + ad Cov(X, W) + bc Cov(Y, Z) + bd Cov(Y, W).
  • —Variance of Sum: Var(aX + bY) = a^2 Var(X) + b^2 Var(Y) + 2ab Cov(X, Y).
  • —Pearson Correlation: rho_{X,Y} = Cov(X, Y) / (sigma_X * sigma_Y) in [-1, +1]. |rho| = 1 iff Y = aX + b almost surely.
  • —Bivariate Normal Property: If (X, Y) is bivariate normal, then Cov(X, Y) = 0 <=> X and Y are INDEPENDENT.
Critical Pitfalls & Exam Traps:
  • ×Var(X - Y) = Var(X) + Var(Y) - 2 Cov(X, Y). A frequent sign error is writing Var(X) - Var(Y).
  • ×Zero correlation does NOT imply independence in general (e.g. Y = X^2 with symmetric X around 0 has Cov(X, Y) = 0, yet Y is completely determined by X).
Joint Distributions, Covariance & Limit Theorems

Chebyshev's Inequality, Law of Large Numbers & Central Limit Theorem

Open Full Lesson →

Central Limit Theorem: For ANY population with mean mu and finite variance sigma^2, the sample mean X_bar of n i.i.d. draws converges in distribution to N(mu, sigma^2 / n) as n -> infinity.

Must-Remember Principles:
  • —Markov's Inequality: For non-negative random variable X >= 0 and a > 0, P(X >= a) <= E[X] / a.
  • —Chebyshev's Inequality: P(|X - mu| >= k * sigma) <= 1 / k^2. Equivalent form: P(|X - mu| < k * sigma) >= 1 - 1 / k^2.
  • —Weak Law of Large Numbers (WLLN): As n -> infinity, sample mean X_bar converges in probability to population mean mu: P(|X_bar - mu| >= epsilon) -> 0.
  • —Central Limit Theorem (CLT): Sample sum S_n = Sum_{i=1}^n X_i ~ N(n mu, n sigma^2).
  • —Sample Mean Standard Error: SE(X_bar) = sigma / sqrt(n).
  • —Standardized CLT Variable: Z_n = (X_bar - mu) / (sigma / sqrt(n)) = (S_n - n mu) / (sigma sqrt(n)) -> N(0, 1).
Critical Pitfalls & Exam Traps:
  • ×Chebyshev's inequality provides a WORST-CASE upper bound valid for ANY distribution; it is conservative compared to exact Gaussian probabilities.
  • ×The standard error of the sample mean is sigma / sqrt(n), NOT sigma / n.
Sampling Distributions & Maximum Likelihood Estimation

Sampling Distributions: Chi-Square, Student's t & F-Distributions

Open Full Lesson →

Chi-square is a sum of squared standard normals. Student's t is a normal divided by sqrt(ChiSq / df). F is a ratio of two independent Chi-squares divided by their respective degrees of freedom.

Must-Remember Principles:
  • —Chi-Square Definition: If Z_1, ..., Z_k ~ i.i.d N(0, 1), then Q = Sum_{i=1}^k Z_i^2 ~ ChiSq(k). Mean = k, Var = 2k.
  • —Sample Variance Distribution: (n - 1) S^2 / sigma^2 ~ ChiSq(n - 1) for normal samples.
  • —Student's t Definition: T = Z / sqrt(V / k), where Z ~ N(0, 1) and V ~ ChiSq(k) are independent. Mean = 0 (k > 1), Var = k / (k - 2) (k > 2).
  • —Snedecor's F Definition: F = ( U / d_1 ) / ( V / d_2 ), where U ~ ChiSq(d_1) and V ~ ChiSq(d_2) are independent.
  • —t and F Relationship: If T ~ t(k), then T^2 ~ F(1, k).
Critical Pitfalls & Exam Traps:
  • ×Student's t-distribution has HEAVIER tails than the standard normal distribution due to uncertainty in estimating the unknown variance s.
  • ×As degrees of freedom k -> infinity, the t-distribution converges to the Standard Normal distribution N(0, 1).
Sampling Distributions & Maximum Likelihood Estimation

Point Estimation: Maximum Likelihood Estimation (MLE)

Open Full Lesson →

Maximum Likelihood Estimator theta_hat maximizes the likelihood of observing the training sample: d(ln L(theta)) / d(theta) = 0.

Must-Remember Principles:
  • —Likelihood Function: L(theta) = Product_{i=1}^n f(x_i; theta) for i.i.d. samples.
  • —Log-Likelihood Function: l(theta) = ln L(theta) = Sum_{i=1}^n ln f(x_i; theta).
  • —Score Function: S(theta) = d l(theta) / d theta.
  • —Unbiasedness: Estimator theta_hat is unbiased if E[theta_hat] = theta. Bias = E[theta_hat] - theta.
  • —Consistency: theta_hat converges in probability to theta as n -> infinity.
  • —Invariance Property of MLE: If theta_hat is the MLE of theta, then g(theta_hat) is the MLE of g(theta).
Critical Pitfalls & Exam Traps:
  • ×Sample variance S^2 = (1/n) Sum (X_i - X_bar)^2 is a BIASED estimator of sigma^2 (E[S^2] = (n-1)/n sigma^2). The unbiased estimator divides by n - 1 (Bessel's correction).
  • ×For Uniform U(0, theta), the likelihood is discontinuous; setting derivative to zero fails! The MLE is the maximum sample order statistic: theta_hat = max(X_1, ..., X_n).
Confidence Intervals & Hypothesis Testing

Confidence Intervals, z-Test, Student's t-Test & Chi-Square Tests

Open Full Lesson →

Reject Null Hypothesis H0 if test statistic falls in the critical rejection region, or equivalently if p-value <= significance level alpha.

Must-Remember Principles:
  • —Confidence Interval for Mean (known sigma): X_bar ± z_{alpha/2} * (sigma / sqrt(n)). (95% uses z = 1.96; 99% uses z = 2.576).
  • —Confidence Interval for Mean (unknown sigma): X_bar ± t_{alpha/2, n-1} * (s / sqrt(n)).
  • —Type I Error alpha: P(Reject H0 | H0 is True) = Significance Level.
  • —Type II Error beta: P(Fail to Reject H0 | H0 is False). Power of Test = 1 - beta.
  • —One-Sample z-test Statistic: z = (X_bar - mu_0) / (sigma / sqrt(n)).
  • —One-Sample t-test Statistic: t = (X_bar - mu_0) / (s / sqrt(n)) with df = n - 1.
  • —Chi-Square Goodness-of-Fit: ChiSq = Sum_{i=1}^k [ (O_i - E_i)^2 / E_i ] with df = k - 1 - p.
Critical Pitfalls & Exam Traps:
  • ×Failing to reject H0 does NOT prove H0 is true; it merely states that the observed sample evidence is insufficient to rule out H0 at the chosen significance level.
  • ×p-value is NOT the probability that H0 is true; it is the probability of observing a test statistic at least as extreme as the one calculated, assuming H0 is true.
Confidence Intervals & Hypothesis Testing

t-Tests and Chi-Squared Tests: Which One, and Why

Open Full Lesson →

Use z when the population standard deviation is known (or n is large), t when it is estimated from a small sample, and chi-squared for counts in categories (goodness of fit or independence).

Must-Remember Principles:
  • —One-sample t: t = (x̄ − μ₀) / (s / √n), df = n − 1.
  • —Paired t: run a one-sample t on the differences d, df = n − 1 (n = number of pairs).
  • —Two-sample pooled t: t = (x̄₁ − x̄₂) / (s_p √(1/n₁ + 1/n₂)), s_p² = ((n₁−1)s₁² + (n₂−1)s₂²)/(n₁+n₂−2), df = n₁ + n₂ − 2.
  • —Chi-squared statistic: χ² = Σ (O − E)² / E.
  • —Goodness of fit: df = k − 1 − (number of parameters estimated from the data).
  • —Independence in an r × c table: E = (row total × column total) / N, df = (r − 1)(c − 1).
Critical Pitfalls & Exam Traps:
  • ×Paired data (same students before and after) is not two independent samples.
  • ×Chi-squared works on counts, never on percentages or means.
  • ×Each expected count should be at least about 5 for the chi-squared approximation to hold.
  • ×Failing to reject H₀ is not proof that H₀ is true.