← All mindmapsMAIN TOPIC · 02 / 14

Statistics & Probability

Distributions, inference, testing and uncertainty

Explore full topic ↗
100%
Statistics & Probability overview revision sheet; full text available below

Use + to enlarge the vector sheet up to 400%, then pan horizontally or vertically. A readable text version is below.

Readable revision notes (19 concepts)

The same content as the visual sheet, optimized for mobile and assistive technology.

01 · Probability rules

  • 0 ≤ P(A) ≤ 1; P(Aᶜ) = 1 − P(A)
  • P(A∪B) = P(A)+P(B)−P(A∩B)
  • Independent: P(A∩B)=P(A)P(B)

02 · Conditional probability

  • P(A|B)=P(A∩B)/P(B)
  • Bayes: P(A|B)=P(B|A)P(A)/P(B)
  • Prior × likelihood → posterior (normalize)

03 · Random variables

  • E[X]=Σ x·P(X=x) (discrete)
  • Var(X)=E[X²]−E[X]²; SD=√Var(X)
  • Cov(X,Y)=E[(X−μx)(Y−μy)]

04 · Distributions

  • Bernoulli: binary; Binomial: successes in n trials
  • Normal: mean μ, variance σ²; Poisson: event count
  • Uniform: equal density over interval

05 · Descriptive statistics

  • Mean sensitive to outliers; median robust
  • IQR = Q3−Q1; sample variance uses n−1
  • Correlation measures linear association, not causation

06 · Sampling & CLT

  • Random sample reduces selection bias
  • CLT: sample mean tends toward normal under conditions
  • SE(mean)=s/√n for independent observations

07 · Confidence intervals

  • Approximate mean CI: x̄ ± critical value × SE
  • 95% confidence refers to repeated interval coverage
  • More data usually narrows CI; not a probability of fixed μ

08 · Hypothesis tests

  • H₀ vs H₁; choose α before testing
  • p-value: extremeness under H₀, not P(H₀ true)
  • Type I: false positive; Type II: false negative

09 · Experiment design

  • Power=1−β; report effect size and uncertainty
  • Randomize, control confounders; paired vs independent
  • Bootstrap uncertainty; correct multiple comparisons

10 · Combinatorics

  • n! permutations; P(n,r)=n!/(n−r)!; C(n,r)=n!/[r!(n−r)!].
  • Use combinations if order irrelevant; count equally likely outcomes only under uniformity.
  • Conditional independence differs from marginal independence.

11 · Discrete distributions

  • Bernoulli E=p, Var=p(1−p); Binomial E=np, Var=np(1−p).
  • Poisson counts with rate λ: E=Var=λ under model assumptions.
  • Geometric models trials until success; memoryless in its standard form.

12 · Continuous distributions

  • Normal z=(x−μ)/σ; standard normal mean 0, variance 1.
  • Uniform(a,b) mean=(a+b)/2; exponential models memoryless waiting times.
  • Student t heavier tails than normal; chi-square relates to sums of squared standard normals.

13 · Sampling distributions

  • Law of large numbers: sample mean converges to expectation under conditions.
  • CLT concerns distribution of standardized sample means, not raw data.
  • Sampling with dependent groups requires appropriate SE/cluster methods.

14 · Estimation & MLE

  • Likelihood L(θ)=Πp(xᵢ
  • θ) for independent observations.
  • MLE maximizes log likelihood; MAP includes log prior.
  • Bias=E[θ̂]−θ; MSE=bias²+variance.

15 · z, t & chi-square tests

  • z test when known variance or suitable large-sample approximation.
  • t test for mean(s) with estimated variance; Welch allows unequal variance.
  • Chi-square tests association/count fit; check expected counts and independence.

16 · ANOVA & nonparametric tests

  • ANOVA F=between-group mean square / within-group mean square.
  • Significant result indicates at least one mean differs; post-hoc tests localize.
  • Mann–Whitney / Wilcoxon for suitable rank-based designs, not universal replacements.

17 · A/B testing & power

  • Choose primary metric, α, MDE and sample size before experiment.
  • Power increases with sample size and effect size; decreases with noise.
  • Avoid peeking without sequential correction; check sample-ratio mismatch.

18 · Correlation & regression

  • Pearson r=cov(X,Y)/(σxσy); Spearman uses ranks.
  • Confounding and selection bias can create association without causality.
  • Residuals reveal nonlinearity/heteroscedasticity; use uncertainty estimates.

19 · Bootstrap & Bayesian thinking

  • Bootstrap with replacement approximates sampling variability; respect clusters/time structure.
  • Permutation tests simulate null by valid label exchangeability.
  • Bayesian credible interval expresses posterior probability conditional on model/prior.

References & further study

Original schematics illustrate concepts, not measured data. Review these references for full derivations and implementation details.

Last 30 min revisionHigh-yield interview Q&As