Glossary
The technical terms of this track, with short definitions (and the Persian term where available). Each term links to the lesson where it is introduced.
- A/A test
- An experiment where both arms get the same version. It checks the pipeline: about of A/A tests should be significant. Introduced in: Lesson 12
- A/B test
- A randomised experiment that compares a control (A) and a treatment (B) on a metric, with users assigned to the arms at random. Introduced in: Lesson 12
- acceptance probability
- The probability that a Metropolis–Hastings proposal is accepted. Introduced in: Lesson 15
- almost sure convergence
- almost surely if : on almost every outcome, the sequence of numbers converges. Introduced in: Lesson 6
- alternative hypothesis
- : the claim that we accept when we reject , for example 'the means differ'. Introduced in: Lesson 11
- antithetic variables
- Use pairs of negatively correlated samples, such as and . For a monotone the average of the pair has less variance than two independent samples. Introduced in: Lesson 14
- aperiodic
- The chain does not cycle with a fixed period; the period of a state is the greatest common divisor of the possible return times, and aperiodic means it is 1. Introduced in: Lesson 15
- asymptotic normality of the MLE
- Under regularity conditions, , so the MLE is asymptotically efficient and . Introduced in: Lesson 9
- autocorrelation
- The correlation between states of a stationary chain steps apart. Introduced in: Lesson 15
- base rate
- The probability of a condition in the population before any test; for a disease it is also called the prevalence. Introduced in: Lesson 1
- base-rate fallacy
- Ignoring the base rate and reading as . For a rare condition, most positives of an accurate test can still be false. Introduced in: Lesson 1
- Bayes factor
- The likelihood ratio of the data for two hypotheses or models. It is the factor that turns prior odds into posterior odds. Introduced in: Lesson 1
- Bayes' rule
- . It turns the probability of the evidence given a hypothesis into the probability of the hypothesis given the evidence. Introduced in: Lesson 1
- Bayesian linear regression
- A Gaussian prior with the Gaussian linear model. The posterior is Gaussian, and its mean is the ridge estimate with penalty . Introduced in: Lesson 13
- Benjamini–Hochberg procedure
- Sort the p-values, find the largest with , and reject the smallest. It controls the FDR at level for independent tests. Introduced in: Lesson 11
- Bernoulli distribution
- A random variable with values 1 (success) with probability and 0 otherwise. Mean , variance . Introduced in: Lesson 3
- Bessel's correction
- Dividing the sum of squared deviations by instead of . It makes the sample variance an unbiased estimate of , because the deviations are measured from , not from . Introduced in: Lesson 4
- beta distribution
- : a distribution on with density proportional to , mean . It models an unknown probability. Introduced in: Lesson 3
- beta-binomial distribution
- The posterior predictive of the number of successes in new trials when has a beta distribution. It is wider than a binomial with a fixed . Introduced in: Lesson 10
- bias
- . An estimator with zero bias is unbiased. Introduced in: Lesson 8
- binomial distribution
- : the number of successes in independent trials. , mean , variance . Introduced in: Lesson 3
- Bonferroni correction
- Test each of hypotheses at level . By the union bound the FWER is at most . Introduced in: Lesson 11
- bootstrap
- Estimate the sampling distribution of a statistic by resampling the data with replacement many times and recomputing the statistic on each resample. Introduced in: Lesson 12
- bootstrap standard error
- The standard deviation of the statistic over the bootstrap resamples. Introduced in: Lesson 12
- calibrated
- A probabilistic forecast is calibrated when its stated probabilities match observed frequencies. For continuous forecasts, the PIT values of the outcomes are then uniform. Introduced in: Lesson 2
- Cantelli's inequality
- The one-sided Chebyshev bound for . Introduced in: Lesson 7
- categorical distribution
- One of classes, class with probability . It is the -class version of the Bernoulli; outcomes are often written as one-hot vectors. Introduced in: Lesson 3
- central limit theorem (CLT)
- For i.i.d. variables with mean and variance , in distribution. So is approximately for large . Introduced in: Lesson 6
- chain rule of probability
- ; for more events, . Introduced in: Lesson 1
- characteristic function
- . Unlike the MGF it exists for every distribution, and it determines the distribution. Introduced in: Lesson 3
- Chebyshev's inequality
- For with mean and variance , for every . Introduced in: Lesson 6
- Chernoff bound
- : Markov's inequality applied to , optimised over . For sums of independent variables it gives exponential tails. Introduced in: Lesson 7
- Cholesky factor
- The lower-triangular matrix with positive diagonal and , for positive definite . It is used to sample () and to compute the log-density stably. Introduced in: Lesson 5
- coefficient of determination
- , the fraction of the variance of explained by the model. The adjusted penalises extra features. Introduced in: Lesson 13
- collider
- A common effect of two variables. Conditioning on a collider can make independent causes dependent. Introduced in: Lesson 1
- common cause
- An event or variable that influences two others. It can make them dependent even when they are independent given the cause. Introduced in: Lesson 1
- concentration inequality
- A non-asymptotic bound on the probability that a random variable (often a sum or mean) is far from its mean, valid for every . Introduced in: Lesson 7
- conditional distribution
- The distribution of when is known: for . Introduced in: Lesson 4
- conditional expectation
- is the mean of the conditional distribution. is the random variable with ; it is the best predictor of from in mean squared error. Introduced in: Lesson 4
- conditional probability
- for : the probability of when we know that happened. Introduced in: Lesson 1
- conditionally independent
- and are conditionally independent given if . It neither implies nor follows from independence. Introduced in: Lesson 1
- confidence band
- The set of intervals for the mean response at each . Its half-width is . Introduced in: Lesson 13
- confidence interval
- A random interval computed from the data that contains the true parameter with probability (for example 95%) over repeated samples. The probability is about the procedure, not about one computed interval. Introduced in: Lesson 6
- confounder
- A variable that affects both a feature and the response. Leaving it out of a regression biases the coefficient of the feature (omitted-variable bias). Introduced in: Lesson 13
- conjugate prior
- A prior family such that the posterior is in the same family, for example beta prior + binomial likelihood gives a beta posterior. Every exponential family has one. Introduced in: Lesson 8
- conservation of probability
- The 1-D change-of-variables rule: for with monotone, the mass in matching small intervals is equal, so with . Introduced in: Lesson 2
- consistent
- An estimator is consistent if in probability as . MSE is a sufficient condition. Introduced in: Lesson 8
- control variates
- Reduce Monte Carlo variance by subtracting , where has a known mean and is correlated with . The best removes the fraction of the variance. Introduced in: Lesson 14
- convergence in distribution
- in distribution if the CDFs converge, , at every point where is continuous. Introduced in: Lesson 6
- convergence in probability
- in probability if for every . Introduced in: Lesson 6
- correlation
- . It measures linear dependence only; means exactly (with probability 1). Introduced in: Lesson 4
- correlation matrix
- The matrix of correlations, with . Its diagonal is all ones. Introduced in: Lesson 4
- countable additivity
- The axiom for disjoint events . Introduced in: Lesson 1
- covariance
- . It is positive when and tend to be large together. Introduced in: Lesson 4
- covariance matrix
- For a random vector with mean , , with . Under an affine map, . Introduced in: Lesson 4
- coverage
- The probability that an interval procedure contains the true parameter. A 95% interval has the right coverage if 95% of its intervals over repeated samples contain the truth. Introduced in: Lesson 6
- Cramér–Rao bound
- For an unbiased estimator of from i.i.d. observations, under regularity conditions, . Introduced in: Lesson 9
- credible interval
- A Bayesian interval that contains the parameter with posterior probability , given the observed data and the prior. Introduced in: Lesson 6
- critical value
- The threshold for the test statistic: reject when the statistic is beyond it, for example at . Introduced in: Lesson 11
- cross-entropy
- . The average negative log-likelihood of a model on data is the cross-entropy from the empirical distribution to . Introduced in: Lesson 8
- cumulant generating function
- . is the mean and is the variance; cumulants of independent sums add. Introduced in: Lesson 3
- cumulative distribution function (CDF)
- . It is nondecreasing and right-continuous, with limits 0 at and 1 at . Introduced in: Lesson 2
- CUPED
- Controlled-experiment using pre-experiment data: subtract from the metric , where is a pre-experiment covariate and . It keeps the effect estimate unbiased and reduces the variance by the factor . Introduced in: Lesson 12
- degrees of freedom
- The parameter of the and distributions. For the sample variance it is : the number of deviations from that can vary freely. Introduced in: Lesson 6
- delta method
- If and is differentiable with , then . So . Introduced in: Lesson 6
- design matrix
- The matrix whose rows are the feature vectors of the observations, usually with a column of ones for the intercept. Introduced in: Lesson 13
- detailed balance
- for all states: the flow from to equals the flow back. It implies that is stationary; such a chain is called reversible. Introduced in: Lesson 15
- Dirichlet distribution
- : a distribution on probability vectors with density proportional to . It generalises the beta to classes. Introduced in: Lesson 3
- distribution
- The rule that gives for all sets . A PMF, a PDF or a CDF describes it. Introduced in: Lesson 2
- divergence (HMC)
- A leapfrog trajectory whose energy error becomes very large, usually in a region of high curvature. Divergences show that the sampler misses part of the posterior. Introduced in: Lesson 15
- duality of tests and intervals
- A confidence interval contains exactly the parameter values that a level- test of does not reject. Introduced in: Lesson 11
- effective sample size (Kish)
- : the number of equally weighted samples that give the same variance as the weighted sample. A small means a few weights dominate. Introduced in: Lesson 14
- effective sample size (MCMC)
- : the number of independent draws that give the same Monte Carlo error as correlated draws. Introduced in: Lesson 15
- efficient
- An unbiased estimator is efficient if its variance equals the Cramér–Rao bound. Introduced in: Lesson 9
- empirical Bayes
- Estimating the prior's hyperparameters from many related groups of data, then using that prior for each group. Introduced in: Lesson 10
- empirical distribution
- The distribution that puts mass on each observed data point. Introduced in: Lesson 8
- empirical risk
- The average loss of a model on the training or test examples, . Introduced in: Lesson 7
- envelope
- A function that lies above the target density everywhere, built from a proposal that is easy to sample. Introduced in: Lesson 14
- ergodic theorem
- For an irreducible chain with stationary distribution , the time average converges to from any starting state. Introduced in: Lesson 15
- estimator
- A function of the data, , used to estimate a parameter. It is a random variable. Introduced in: Lesson 8
- event
- A subset of the sample space. The event happens when the outcome is in this subset. Introduced in: Lesson 1
- evidence
- , the normalising constant of the posterior. Also called the marginal likelihood; it is used to compare models. Introduced in: Lesson 10
- exchangeable
- Random variables are exchangeable if their joint distribution does not change when we permute them. Under this makes permutation tests exact. Introduced in: Lesson 12
- expectation
- The probability-weighted average or . It exists when the sum or integral of is finite. Also called the mean. Introduced in: Lesson 2
- explaining away
- The effect of conditioning on a collider: given the common effect, evidence for one cause lowers the probability of the other cause. Introduced in: Lesson 1
- exponential distribution
- : density for , mean . It models the waiting time to the next event of a Poisson process and is memoryless. Introduced in: Lesson 3
- exponential family
- A family with density . Bernoulli, Poisson, Gaussian, gamma, beta and categorical are examples. Introduced in: Lesson 8
- F-test for nested models
- Tests whether extra features help: , compared with the distribution. Introduced in: Lesson 13
- false discovery rate (FDR)
- The expected fraction of false rejections among all rejections, . Introduced in: Lesson 11
- family-wise error rate (FWER)
- The probability of at least one false rejection among all the tests. Introduced in: Lesson 11
- Fisher information
- : the expected curvature of the log-likelihood. For i.i.d. observations it is ; for several parameters it is a matrix. Introduced in: Lesson 9
- full conditional
- The distribution of one coordinate given all the other coordinates, . Introduced in: Lesson 15
- gamma distribution
- (shape , rate ): density for , mean . For integer it is the sum of independent times (the Erlang distribution). Introduced in: Lesson 3
- Gaussian conditioning
- For jointly Gaussian : . The mean shifts linearly with ; the covariance does not depend on . Introduced in: Lesson 5
- Gaussian distribution
- : density . Also called the normal distribution. Introduced in: Lesson 3
- Gauss–Markov theorem
- If the errors have mean 0, equal variance and no correlation, OLS has the smallest variance among all linear unbiased estimators: it is the BLUE (best linear unbiased estimator). Introduced in: Lesson 13
- generalisation bound
- A bound on the gap between true and empirical risk. For a finite class and losses in , Hoeffding plus the union bound give for all with probability at least . Introduced in: Lesson 7
- generalised linear model (GLM)
- A regression model where the response has an exponential-family distribution and a link function of its mean is linear in the features. Linear, logistic and Poisson regression are GLMs. Introduced in: Lesson 8
- geometric distribution
- : the number of trials up to and including the first success. for , mean . Introduced in: Lesson 3
- Gibbs sampling
- MCMC that updates one coordinate (or block) at a time by sampling from its full conditional distribution given all the others. Every move is accepted. Introduced in: Lesson 15
- Hamiltonian Monte Carlo (HMC)
- MCMC that adds a momentum variable, simulates Hamiltonian dynamics with the leapfrog integrator to make long moves along the target, and corrects the integration error with a Metropolis step. Introduced in: Lesson 15
- Hastings correction
- The factor in the acceptance probability. It is needed when the proposal is not symmetric. Introduced in: Lesson 15
- hat matrix
- , the projection that maps to the fitted values . Introduced in: Lesson 13
- HC3
- A heteroscedasticity-consistent (robust, sandwich) standard error that uses as the variance estimate of observation . Introduced in: Lesson 13
- Hoeffding's inequality
- For independent with mean , . Introduced in: Lesson 7
- Hoeffding's lemma
- If , then for all : a bounded variable is sub-Gaussian with variance proxy . Introduced in: Lesson 7
- Holm's method
- A step-down version of Bonferroni: compare the -th smallest p-value with and stop at the first failure. It controls the FWER and rejects at least as much as Bonferroni. Introduced in: Lesson 11
- homoscedastic
- All errors have the same variance . Heteroscedastic errors have variances that change between observations. Introduced in: Lesson 13
- hyperparameters
- Parameters of the prior, such as and of a beta prior. Introduced in: Lesson 10
- hypothesis test
- A rule that decides from data whether to reject a null hypothesis, built so that the probability of a false rejection is at most a chosen level . Introduced in: Lesson 11
- i.i.d.
- Independent and identically distributed: the random variables are independent and all have the same distribution. Introduced in: Lesson 2
- identifiable
- A model is identifiable if different parameter values give different distributions, so the data can in principle tell them apart. Introduced in: Lesson 8
- importance sampling
- Estimate with samples from a proposal : with weights . It is unbiased when wherever . Introduced in: Lesson 14
- importance weight
- , the factor that corrects for sampling from instead of . Introduced in: Lesson 14
- inclusion–exclusion
- The rule . The overlap is counted twice in , so we subtract it once. Introduced in: Lesson 1
- independence
- Events and are independent if . For this means : learning does not change the probability of . Introduced in: Lesson 1
- indicator
- The random variable that is 1 when event happens and 0 otherwise. Its mean is . Introduced in: Lesson 2
- integrated autocorrelation time
- . The variance of the chain mean is about . Introduced in: Lesson 15
- interleaving
- An online evaluation of two rankers that mixes their results in one list for each user and counts which ranker's items get clicks. It often needs far fewer users than an A/B test. Introduced in: Lesson 12
- invariance of the MLE
- If is the MLE of , then is the MLE of . Introduced in: Lesson 8
- inverse-CDF sampling
- If , then has CDF (with the generalised inverse when is not invertible). It turns uniform random numbers into samples of any distribution. Introduced in: Lesson 2
- irreducible
- Every state can be reached from every other state with positive probability in some number of steps. Introduced in: Lesson 15
- Jacobian determinant
- For a smooth invertible map , is the factor by which scales small volumes near . Densities change by the inverse factor: . Introduced in: Lesson 5
- Jensen's inequality
- For a convex function , . For a concave function the inequality reverses. Introduced in: Lesson 2
- jitter
- A small multiple of the identity, , added to a covariance matrix so that a Cholesky factorisation succeeds in floating point. Introduced in: Lesson 5
- joint distribution
- The distribution of several random variables together, given by a joint PMF or a joint PDF . Introduced in: Lesson 4
- jointly Gaussian
- A random vector is jointly Gaussian if every linear combination is Gaussian. Each coordinate being Gaussian is not enough. Introduced in: Lesson 5
- Kullback–Leibler divergence
- , with equality only when . Maximising the likelihood minimises the KL divergence from the empirical distribution to the model. Introduced in: Lesson 8
- Langevin dynamics
- The update with : a gradient step plus Gaussian noise. With a Metropolis–Hastings correction it is MALA; with mini-batch gradients and no correction it is SGLD. Introduced in: Lesson 15
- Laplace approximation
- Approximate a posterior (or likelihood) by a Gaussian centred at its mode, with covariance equal to the inverse of the negative Hessian of the log-density there. Introduced in: Lesson 9
- law of large numbers
- For i.i.d. variables with finite mean , the sample mean converges to . The weak law gives convergence in probability; the strong law gives almost sure convergence. Introduced in: Lesson 6
- law of total probability
- If is a partition, then . Introduced in: Lesson 1
- law of total variance
- : total variance = within-group part + between-group part. Introduced in: Lesson 4
- Le Cam's inequality
- A sum of independent variables is within total variation distance of . Introduced in: Lesson 3
- leapfrog integrator
- A numerical integrator for Hamiltonian dynamics: half step in momentum, full step in position, half step in momentum. It is reversible and preserves volume. Introduced in: Lesson 15
- length-biased sampling
- Picking an interval with probability proportional to its length. If you arrive at a random time, you are more likely to land in a long gap than in a short one. Introduced in: Lesson 3
- leverage
- The diagonal entry of the hat matrix: how much observation pulls its own fitted value. Points far from the other values have high leverage. Introduced in: Lesson 13
- likelihood
- The probability (or density) of the observed data under a hypothesis or parameter value, , seen as a function of the hypothesis. Introduced in: Lesson 1
- likelihood equations
- The equations that the MLE satisfies when the maximum is in the interior of the parameter space. Introduced in: Lesson 8
- likelihood function
- For data and model , , seen as a function of with the data fixed. It is not a probability distribution over . Introduced in: Lesson 8
- likelihood ratio
- The ratio . In odds form, Bayes' rule says: posterior odds = likelihood ratio × prior odds. Introduced in: Lesson 1
- linear model
- with and ; for exact tests also . Introduced in: Lesson 13
- linearity of expectation
- for any random variables with finite means, with no independence needed. Introduced in: Lesson 2
- log-likelihood
- . The log turns the product into a sum, avoids underflow and has the same maximiser. Introduced in: Lesson 8
- log-odds
- . It is the natural parameter of the Bernoulli distribution; its inverse is the sigmoid. Introduced in: Lesson 8
- log-partition function
- , which normalises an exponential family. It is convex, and . Introduced in: Lesson 8
- Mahalanobis distance
- : the distance from the mean measured in units of the distribution's spread. The contours of a Gaussian density are the ellipsoids of constant Mahalanobis distance. Introduced in: Lesson 5
- marginal distribution
- The distribution of one variable alone, obtained from the joint by summing or integrating out the others: . Introduced in: Lesson 4
- Markov chain
- A sequence of random states where the next state depends only on the current state (the Markov property), not on earlier states. Introduced in: Lesson 15
- Markov chain Monte Carlo (MCMC)
- Sample from a target by running a Markov chain whose stationary distribution is , and average over the states it visits. Introduced in: Lesson 15
- Markov's inequality
- For and , . Introduced in: Lesson 6
- maximum a posteriori (MAP)
- The mode of the posterior, . Under a nonlinear change of parameters the MAP point can move, because the density picks up a Jacobian factor. Introduced in: Lesson 10
- maximum likelihood estimate (MLE)
- : the parameter value under which the observed data have the highest probability (or density). Introduced in: Lesson 8
- mean squared error (MSE)
- (the bias–variance decomposition). Introduced in: Lesson 8
- memoryless property
- : the remaining waiting time does not depend on how long you already waited. Among continuous distributions only the exponential has it. Introduced in: Lesson 3
- Metropolis–Hastings
- An MCMC algorithm: propose and accept with probability , else stay. Only ratios of appear, so the normalising constant is not needed. Introduced in: Lesson 15
- minimum detectable effect (MDE)
- The smallest true difference that an experiment should detect with power at level . It sets the sample size per arm. Introduced in: Lesson 12
- misspecification
- The true distribution is not in the model family. The MLE then converges to the member closest to the truth in KL divergence. Introduced in: Lesson 8
- moment generating function (MGF)
- . Its derivatives at 0 are the moments, the MGF of a sum of independent variables is the product of their MGFs, and if it is finite near 0 it determines the distribution. Introduced in: Lesson 3
- moment matching
- In an exponential family the MLE solves : the model's mean of the sufficient statistic equals the data's average. Introduced in: Lesson 8
- Monte Carlo estimate
- Estimate by with i.i.d. samples . Its standard error is in any dimension. Introduced in: Lesson 14
- moving block bootstrap
- A bootstrap for dependent data, such as time series: resample blocks of consecutive observations, so that dependence within a block is kept. Introduced in: Lesson 12
- multivariate Gaussian
- on : density . It is the distribution of with and . Introduced in: Lesson 5
- mutually independent
- Events are mutually independent if, for every subcollection, the probability of the intersection is the product of the probabilities. Introduced in: Lesson 1
- natural gradient
- The update direction : the gradient preconditioned by the inverse Fisher information. To first order, the step does not depend on how the model is parametrised. Introduced in: Lesson 9
- natural parameter
- The parameter that multiplies the sufficient statistic in an exponential family, for example the log-odds for the Bernoulli. Introduced in: Lesson 8
- normal equations
- : the residual vector is orthogonal to every column of . Introduced in: Lesson 13
- normalising flow
- A generative model that maps simple noise through an invertible, differentiable function. The change-of-variables formula with the Jacobian determinant gives the exact density. Introduced in: Lesson 5
- null distribution
- The distribution of the test statistic when is true. Introduced in: Lesson 11
- null hypothesis
- : the default claim that a test tries to reject, often 'no effect' or 'no difference'. Introduced in: Lesson 11
- observed information
- , the curvature of the log-likelihood of the actual data at the MLE. The expected information is the mean of . Introduced in: Lesson 9
- odds
- The ratio . A probability of is odds of , or . Introduced in: Lesson 1
- one-sample t-test
- Tests with and the distribution. Paired data use it on the differences. Introduced in: Lesson 11
- ordinary least squares (OLS)
- The estimate that minimises the residual sum of squares . If has full column rank, . Introduced in: Lesson 13
- overdispersion
- Count data whose variance is larger than its mean. A Poisson model cannot fit it; a negative binomial or a mixture can. Introduced in: Lesson 3
- p-hacking
- Trying many analyses, subsets or stopping times and reporting the one with a small p-value. It makes the real type I error rate much larger than . Introduced in: Lesson 11
- p-value
- The probability, under , of a test statistic at least as extreme as the observed one. It is not and not an effect size. Introduced in: Lesson 11
- PAC learning
- Probably approximately correct learning: with probability at least , the learned model has true risk within of the best in its class, using a number of samples polynomial in and . Introduced in: Lesson 7
- pairwise independent
- Every pair of the events is independent. This does not imply mutual independence (example: two fair coins and their XOR). Introduced in: Lesson 1
- partition
- Disjoint events whose union is the whole sample space . Introduced in: Lesson 1
- Pearson's χ² test
- Compares observed counts with expected counts under by , which is approximately for large counts. Introduced in: Lesson 11
- peeking
- Looking at the p-value many times during an experiment and stopping when it is small. It inflates the type I error rate; sequential tests fix it. Introduced in: Lesson 12
- percentile interval
- The bootstrap confidence interval between the and quantiles of the bootstrap distribution. Introduced in: Lesson 12
- permutation test
- A test of 'no difference between groups': shuffle the group labels many times and compare the observed statistic with its distribution over the shuffles. Introduced in: Lesson 12
- plug-in prediction
- Prediction with one point estimate, . It ignores the uncertainty in and is too confident for small data. Introduced in: Lesson 10
- Poisson distribution
- : for . Mean and variance are both . It is the limit of and models counts of rare events. Introduced in: Lesson 3
- Poisson process
- Random event times with independent gaps. Equivalently, the counts in disjoint intervals are independent and . Introduced in: Lesson 3
- positive semidefinite
- A symmetric matrix with for all vectors . Every covariance matrix is positive semidefinite because . Introduced in: Lesson 4
- posterior
- The probability of a hypothesis (or the distribution of a parameter) after we see the data; it is proportional to likelihood × prior. Introduced in: Lesson 1
- posterior mean
- . It minimises the expected squared error under the posterior. Introduced in: Lesson 10
- posterior predictive
- The distribution of a new observation given the data, . It includes the uncertainty about . Introduced in: Lesson 10
- power
- The probability of rejecting when a given alternative is true, . It grows with the effect size, the sample size and . Introduced in: Lesson 11
- precision
- The fraction of positives that are true, ; also called the positive predictive value. It depends on the base rate. Introduced in: Lesson 1
- precision matrix
- The inverse covariance . For a Gaussian, means and are conditionally independent given all other coordinates. Introduced in: Lesson 5
- prediction interval
- An interval for one new observation . It adds the noise variance: half-width , so it does not shrink to 0 as grows. Introduced in: Lesson 13
- principal components
- The eigenvectors of the covariance matrix. The first one is the direction of largest variance, and the projections on different principal components are uncorrelated. Introduced in: Lesson 4
- prior
- The probability of a hypothesis (or the distribution of a parameter) before we see the data. Introduced in: Lesson 1
- probability density function (PDF)
- A function with . A density value can be larger than 1; only its integrals are probabilities. Introduced in: Lesson 2
- probability integral transform (PIT)
- If has a continuous CDF , then . Introduced in: Lesson 2
- probability mass function (PMF)
- For a discrete random variable, . The values are in and add up to 1. Introduced in: Lesson 2
- probability space
- A triple : a sample space, a σ-algebra of events, and a probability that satisfies the axioms: , and countable additivity. Introduced in: Lesson 1
- proposal
- The distribution that we can sample from, used in place of the target in importance or rejection sampling, or to suggest moves in MCMC. Introduced in: Lesson 14
- Rademacher variable
- A random sign: or with probability each. It is sub-Gaussian with variance proxy 1. Introduced in: Lesson 7
- random variable
- A function that assigns a number to each outcome. Introduced in: Lesson 2
- random-walk Metropolis
- Metropolis–Hastings with a symmetric proposal , ; the acceptance probability is then . Introduced in: Lesson 15
- regularity conditions
- Assumptions that make the Fisher theory work, for example: the support does not depend on , is in the interior of the parameter space, and we can differentiate under the integral. Introduced in: Lesson 9
- rejection sampling
- Sample from a density with an envelope : draw and accept it with probability . Accepted points are exact samples from ; for normalised and the acceptance rate is . Introduced in: Lesson 14
- relative standard error
- The standard error divided by the estimated value. For a rare-event probability with plain Monte Carlo it is about , so small needs very many samples. Introduced in: Lesson 14
- reparameterisation trick
- Write a random sample as a differentiable function of the parameters and of noise with a fixed distribution, e.g. with . Gradients then pass through the sampling step. Introduced in: Lesson 2
- residual sum of squares (RSS)
- . Under the Gaussian linear model, , and is unbiased. Introduced in: Lesson 13
- residuals
- , the differences between observed and fitted values. Introduced in: Lesson 13
- sample space
- The set of all possible outcomes of a random experiment. Introduced in: Lesson 1
- sample-ratio mismatch (SRM)
- The observed split of users between arms differs from the planned split by more than chance. It signals a bug in assignment or logging. Introduced in: Lesson 12
- sampling distribution
- The distribution of a statistic (such as ) over repeated samples of the same size from the same population. Introduced in: Lesson 6
- sampling distribution of OLS
- Under the Gaussian linear model, , independent of the RSS. This gives t-tests and confidence intervals for each coefficient. Introduced in: Lesson 13
- Schur complement
- For a block matrix with blocks , the matrix . It is the conditional covariance of a Gaussian. Introduced in: Lesson 5
- score
- The derivative of the log-likelihood, . Under regularity conditions its mean at the true is 0. Introduced in: Lesson 9
- self-normalised importance sampling
- with . It works when is known only up to a constant; it is slightly biased but consistent. Introduced in: Lesson 14
- sensitivity
- The probability that a test is positive for a sick person, : the true positive rate. Introduced in: Lesson 1
- shrinkage estimator
- An estimator that pulls raw estimates toward a common value (for example the prior mean). The posterior mean under a conjugate prior is one. Introduced in: Lesson 10
- significance level
- The chosen bound on the type I error rate, often 0.05. We reject when . Introduced in: Lesson 11
- simplex
- The set of probability vectors . Introduced in: Lesson 3
- Simpson's paradox
- A trend that holds in every group reverses (or disappears) when the groups are pooled. It can happen when the group is related to both the choice of option and the outcome. Introduced in: Lesson 1
- size
- The largest probability of a type I error of a test over all distributions in . A test is conservative when its size is below . Introduced in: Lesson 11
- specificity
- The probability that a test is negative for a healthy person, . The false positive rate is . Introduced in: Lesson 1
- split-
- A convergence diagnostic: split each of chains into halves and compare the variance between the halves with the variance within them. Values near 1 (below 1.01) mean the chains agree. Introduced in: Lesson 15
- standard deviation
- The square root of the variance, . It has the same unit as . Introduced in: Lesson 2
- standard error
- The standard deviation of an estimator's sampling distribution. For the sample mean of i.i.d. data, , estimated by . Introduced in: Lesson 6
- stationary distribution
- A distribution with : if the chain starts in , it stays in . Introduced in: Lesson 15
- Student's t distribution
- The distribution of for Gaussian data, with degrees of freedom. It has heavier tails than and approaches it as . Introduced in: Lesson 6
- Student's t-test (pooled)
- A two-sample t-test that assumes equal variances and uses the pooled variance with degrees of freedom. Introduced in: Lesson 11
- sub-exponential
- A random variable whose tails decay at least like but possibly not like ; its MGF is finite only for small . Examples: exponential and variables. Introduced in: Lesson 7
- sub-Gaussian
- A random variable with for all ( is the variance proxy). Its tails satisfy . Introduced in: Lesson 7
- sufficient statistic
- A statistic that contains all information in the data about : the conditional distribution of the data given does not depend on . By the Fisher–Neyman factorisation, is sufficient if and only if . Introduced in: Lesson 8
- survival function
- : the probability that the waiting time is longer than . Introduced in: Lesson 3
- t-interval
- The interval for a mean when is unknown. It is exact for Gaussian data. Introduced in: Lesson 6
- test statistic
- A number computed from the data that measures how far the data are from what predicts, for example . Introduced in: Lesson 11
- total variation distance
- , the largest difference in probability of any event. On the integers it equals . Introduced in: Lesson 3
- tower rule
- : the average of the group means, weighted by group probability, is the overall mean. Also called the law of total expectation. Introduced in: Lesson 4
- transition matrix
- The matrix with ; each row sums to 1. A distribution (row vector) moves to in one step. Introduced in: Lesson 15
- true risk
- The expected loss of a model on new data from the population, . Introduced in: Lesson 7
- two-proportion z-test
- Tests with , where is the pooled rate. Introduced in: Lesson 11
- type I error
- Rejecting when it is true: a false positive. Introduced in: Lesson 11
- type II error
- Not rejecting when it is false: a false negative. Its probability is . Introduced in: Lesson 11
- union bound
- for any events, with no assumption about dependence. Also called Boole's inequality. Introduced in: Lesson 1
- variance
- with : the mean squared distance from the mean. Introduced in: Lesson 2
- variance inflation factor (VIF)
- , where comes from regressing feature on the other features. It is the factor by which collinearity inflates . Introduced in: Lesson 13
- Wald interval
- The interval with the standard error estimated at ; for a proportion, . It has poor coverage for small or near 0 or 1. Introduced in: Lesson 6
- warm-up
- The first part of an MCMC run, used to forget the starting point and to tune the step size; its draws are discarded. Also called burn-in. Introduced in: Lesson 15
- weight collapse
- In high dimension, almost all importance weight goes to one or a few samples, so the effective sample size is close to 1. Introduced in: Lesson 14
- Welch's t-test
- A two-sample t-test that does not assume equal variances: with Welch–Satterthwaite degrees of freedom. It is a good default. Introduced in: Lesson 11
- Wilson interval
- A confidence interval for a proportion obtained by solving for . Its coverage is much closer to nominal than the Wald interval's for small . Introduced in: Lesson 6
- z-score
- The standardised value : how many standard deviations is from the mean. Introduced in: Lesson 2
- σ-algebra
- A collection of events that contains and is closed under complements and countable unions. These are the events that get a probability. Introduced in: Lesson 1
- χ² distribution
- The distribution of for independent standard normal , with degrees of freedom and mean . Introduced in: Lesson 11