1/48
Comprehensive vocabulary flashcards covering the core concepts, philosophies, estimators, algorithms, and models from Lectures 8 through 17 of Data C102.
Frequentist Philosophy (Concept of Randomness)
A statistical philosophy assuming the parameter θ is an unknown fixed constant and observed data X is a random sample from likelihood p(X∣θ), where probability represents long-run relative frequency across repeated trials.
Bayesian Philosophy (Concept of Randomness)
A statistical philosophy assuming both parameter Θ and data X are jointly random variables drawn from p(θ,x)=p(x∣θ)p(θ), where probability quantifies epistemic belief or uncertainty conditional on available evidence.
Prior Distribution (p(θ))
A probability distribution that mathematically specifies prior beliefs or uncertainty regarding parameter Θ before observing the dataset X.
Likelihood Function (p(x∣θ))
A function that computes the probability density or probability mass of observing dataset x given a specific fixed parameter value θ.
Posterior Distribution (p(θ∣x))
The conditional probability distribution over parameter Θ after conditioning on observed sample data X=x, calculated via Bayes' Rule as p(θ∣x)=p(x)p(x∣θ)p(θ).
Bayesian Evidence (Marginal Likelihood)
The total marginal probability of observing dataset x integrated over all parameter values, defined as p(x)=∫p(x∣θ)p(θ)dθ, serving as the normalizing constant in Bayes' rule.
Conjugate Prior
A family of prior distributions P where, for a given likelihood model, the resulting posterior p(θ∣x) belongs to the exact same parametric family P for all possible data outcomes, bypassing numerical integration.
Exponential Family (Canonical Density Form)
A distribution family defined by p(x∣η)=h(x)exp(ηTT(x)−A(η)), where η is the canonical parameter vector, T(x) is the sufficient statistic vector, A(η) is the log-partition function, and h(x) is the base measure.
Log-Partition Function (A(η)) Properties
The normalizing cumulant function in an exponential family whose derivatives generate the moments of the sufficient statistics: first derivative A′(η)=E[T(X)] and second derivative A′′(η)=Var(T(X)).
Point Estimator vs. Interval Estimator
A point estimator θ^(X) maps an observed sample to a single coordinate in parameter space, whereas an interval estimator maps data to a set or range [L(X),U(X)] expressing parameter uncertainty.
Maximum Likelihood Estimator (MLE) and Minimized Risk
The estimator defined by θ^MLE(x)=argmaxθlog(p(x∣θ)), which selects the parameter maximizing data likelihood and asymptotically minimizes Frequentist risk under 0-1 loss.
Maximum A Posteriori (MAP) Estimator and Minimized Risk
The estimator defined by θ^MAP(x)=argmaxθ[log(p(x∣θ))+log(p(θ))], which yields the posterior mode and minimizes Bayes risk under 0-1 loss L(θ,θ^)=I(θ=θ^).
Posterior Mean Estimator and Minimized Risk
The Bayesian estimator defined by θ^mean(x)=E[Θ∣X=x]=∫θp(θ∣x)dθ, which minimizes Bayes risk under squared error loss (L2 loss) L(θ,θ^)=(θ−θ^)2.
Posterior Median Estimator and Minimized Risk
The Bayesian estimator defined by P(Θ≤θ^median∣X=x)=0.5, which minimizes Bayes risk under absolute error loss (L1 loss) L(θ,θ^)=∣θ−θ^∣.
Conditional Frequentist Bias of the Posterior Mean
In the Normal-Normal model, the estimator conditional bias is EX∣θ[θ^mean−θ]=λ(μθ−θ), showing systematic shrinkage toward prior mean μθ with shrinkage factor λ.
Joint Bayesian Bias of the Posterior Mean
When evaluated across the joint distribution of parameters and data, the expected error is EΘ,X[θ^mean−Θ]=0, proving the posterior mean is strictly unbiased in the Bayesian framework.
Bayes Risk Trade-Off of Posterior Mean vs. MLE
The posterior mean trades off conditional bias to drastically reduce estimation variance, achieving strictly lower overall Bayes risk than the MLE (RB(θ^mean)<RB(θ^MLE)) for any finite prior variance.
Empirical Bayes (EB) Optimization Target
A hybrid framework where prior hyperparameters β=(a,b) are learned directly from observed data by maximizing marginal likelihood: β^EB=argmaxβ∫p(X∣θ)p(θ∣β)dθ.
Empirical Bayes Kidney Cancer Application
Low-population counties display extreme false-positive death rates under naive MLE; Empirical Bayes fits a shared prior across all counties, shrinking high-variance small county estimates toward national averages while preserving large county data.
Prior Predictive Distribution Formula
The marginal distribution of unobserved future data before observing any current training dataset, defined as p(xnew)=∫p(xnew∣θ)p(θ)dθ.
Posterior Predictive Distribution (PPD) Formula
The distribution of future unobserved data conditioned on an observed training set, defined as p(xnew∣xobs)=∫p(xnew∣θ)p(θ∣xobs)dθ.
Two-Step Simulation from the PPD
To sample future observations xnew∼PPD, first sample parameter values from the posterior θ(s)∼p(θ∣xobs), then sample replicated data from the likelihood xnew(s)∼p(x∣θ(s)).
Prior Predictive Check vs. Posterior Predictive Check
A prior predictive check simulates data from the prior predictive to see if modeling assumptions generate domain-plausible values before fitting; a PPC simulates synthetic datasets from the PPD to check if the fitted model recovers observed sample features.
Posterior Predictive Check (PPC) Procedure
Draw S posterior samples θ(s)∼p(θ∣Xobs), generate synthetic datasets Xsim(s)∼p(x∣θ(s)), compute test statistic values Tsim(s)=T(Xsim(s)), and compare to observed test statistic Tobs=T(Xobs).
Posterior Predictive p-Value Interpretation
Calculated as pPPC=S1∑s=1SI(Tsim(s)≥Tobs), where values near 0.5 indicate good fit, while extreme values (<0.025 or >0.975) indicate severe model misspecification.
Conditional Independence in Directed Graphs
The factorization condition p(A,B∣C)=p(A∣C)p(B∣C), which holds if all directional paths between A and B are blocked by conditioning set C via d-separation rules.
Plate Notation Conventions
A graphical representation where unshaded circles represent unobserved/latent random variables, shaded circles represent observed data, solid dots denote fixed hyperparameters, and rectangular boxes (plates) denote conditionally independent replications.
Joint Factorization Rule for Directed Graphical Models
The theorem stating the joint density of all graph nodes decomposes into the product of each variable conditioned on its direct parent nodes: p(v1,…,vK)=∏k=1Kp(vk∣parents(vk)).
Ancestral Sampling (Graphical Models)
A forward generative process that simulates samples by following the directed acyclic graph in topological order, sampling parent nodes from their marginals before sampling child nodes conditional on parent draws.
Complete, No, and Partial Pooling
Complete pooling forces a single global parameter onto all groups (high bias); no pooling estimates independent parameters per group (high variance for small groups); partial pooling places a shared hierarchical prior over group parameters (optimal balance).
Monte Carlo Integration
A computational technique approximating intractable continuous expectations Ep[f(X)]=∫f(x)p(x)dx with sample mean S1∑s=1Sf(x(s)) using independent draws x(s)∼p(x).
Inverse CDF Sampling Algorithm
An exact sampling method that draws standard uniform variates u∼Uniform(0,1) and applies the target's continuous inverse cumulative distribution function to yield x=F−1(u)∼F.
Rejection Sampling Envelope Condition
The strict criterion requiring a proposal distribution q(x) and finite constant M such that Mq(x)≥p(x) (or Mq(x)≥p~(x) for unnormalized target p~(x)) across all points in the support.
Rejection Sampling for Unnormalized Targets
Iteratively generate candidate Y∼q(x) and draw u∼Uniform(0,1); accept candidate Y if u≤Mq(Y)p~(Y), repeating until S accepted draws are collected.
Stationary Distribution of a Markov Chain
A probability distribution π satisfying π(x)=∑yπ(y)T(y→x) (or πTT=πT) that is preserved asymptotically under the transition kernel T.
Markov Chain Mixing Time and Burn-In
Mixing time is the number of transition steps necessary for the chain to approach its target stationary distribution; burn-in denotes the initial non-stationary iterations discarded to prevent initial-state bias.
Detailed Balance Condition
The reversibility condition π(x)T(x→y)=π(y)T(y→x) for all pairs x,y, which provides a sufficient guarantee that π is the unique stationary distribution of kernel T.
Metropolis Acceptance Probability (Symmetric Proposal)
For symmetric proposals where q(x→y)=q(y→x), candidate y is accepted from state x with probability α(x,y)=min(1,p~(x)p~(y)).
Metropolis-Hastings Acceptance Probability (Asymmetric)
For asymmetric proposals, candidate y is accepted with probability α(x,y)=min(1,p~(x)q(y∣x)p~(y)q(x∣y)), correcting proposal asymmetry to satisfy detailed balance with unnormalized target p~.
Gibbs Sampling Algorithm
An MCMC algorithm that samples a vector θ=(θ1,…,θD) by iteratively updating each scalar dimension from its full conditional distribution θd∼p(θd∣θ−d,X) with acceptance probability 1.
Prediction Task vs. Estimation Task
Estimation infers unobservable latent parameters θ and evaluates quality through parameter loss, whereas prediction forecasts new observable outcomes Ynew and evaluates quality via predictive loss on test data.
Bayesian Point Prediction under Squared Error Loss
Under loss L(y,y^)=(y−y^)2, the optimal Bayesian point prediction is the posterior predictive mean y^∗=E[Ynew∣xnew,D].
Bayesian Point Prediction under Absolute Error Loss
Under loss L(y,y^)=∣y−y^∣, the optimal Bayesian point prediction is the posterior predictive median y^∗=Median(Ynew∣xnew,D).
Bayesian Point Prediction under Asymmetric Weighted Loss
When penalizing overestimation and underestimation at different linear rates, the loss-minimizing prediction is a specified percentile or quantile of the posterior predictive distribution.
Six Core Components of a Generalized Linear Model
The six components are feature vector x, regression weights β, linear predictor η=βTx, link function g(μ) with inverse g−1(η), prediction parameter μ, and exponential family likelihood Y∼Distribution(μ,θ).
Linearity in Parameters Requirement (GLMs)
A GLM requires that the linear predictor must be strictly linear in the coefficients β (η=βTϕ(x)), which fully permits non-linear transformations of input features ϕ(x) while disallowing non-linear parameter forms.
Logit Link Function in Logistic Regression
The link function mapping success probability p∈(0,1) to the unconstrained real line via log-odds: g(p)=logit(p)=log(1−pp)=βTx.
Logistic Inverse Link Function
The inverse link function mapping linear predictor η∈R back onto the valid probability interval (0,1): g−1(η)=logistic(η)=1+exp(−η)1.
Softmax Inverse Link (Multi-Class Logistic Regression)
The inverse link function mapping class linear predictor vectors to valid categorical probability distributions across K classes: πk(x)=∑j=1Kexp(βjTx)exp(βkTx).