Statistical inference uses representative samples to learn about population parameters, such as the binomial probability (p) or normal distribution mean (μ) and variance (σ2).
A representative sample must be randomly selected to ensure every individual has an equal chance of selection, improving the reliability of conclusions.
Biased samples do not generalize to the population, leading to misleading conclusions.
Defining Random Samples and Statistics
A collection X1,X2,…,Xn is a random sample from a population with distribution f(x) if the joint distribution is the product of marginals:
f(x1,x2,…,xn)=∏i=1nf(xi)=f(x1)f(x2)…f(xn)
This implies that the random variables are independent.
In the frequentist paradigm, population parameters (p, μ, σ2) are fixed but unknown constants.
A statistic is a function of a random sample; because it depends on random data, the statistic itself is a random variable.
Fundamental Sample Statistics
Sample Proportion (P^): Used for binary random variables to estimate the population proportion (p).
P^=n1∑i=1nXi
Sample Mean (Xˉ): Used to estimate the population mean (μ).
Xˉ=n1∑i=1nXi
Sample Variance (S2): Used to estimate the population variance (σ2).
S2=n−11∑i=1n(Xi−Xˉ)2
Sampling Distributions and the Central Limit Theorem
Sampling variation occurs because different samples from the same population yield different values for a statistic.
The probability distribution of a statistic is called its sampling distribution.
For any sample mean (Xˉ), the expected value is E(Xˉ)=μ and the variance is Var(Xˉ)=nσ2.
Normal Population: If the population is normal, the sampling distribution of the mean is exactly normal:
Xˉ∼N(μ,nσ2)
Central Limit Theorem (CLT): For non-normal populations with large sample sizes (n), the distribution of the sample mean is approximately normal:
Xˉ∼N(μ,nσ2)
Small sample sizes (e.g., n=2 in highly skewed exponential distributions) are insufficient for the CLT to apply.
Parametric Statistical Models
A parametric model assumes the population distribution fY(y) has a known functional form depending on a vector of parameters θ=(θ1,…,θp).
Normal Model: Parameterized by mean (μ) and standard deviation (σ).
fY(y;μ,σ)=σ2π1exp(−2σ2(y−μ)2)
Simple Linear Model: Parameterized by intercept (β0) and slope (β1).
Y=β0+β1x+ϵ,ϵ∼N(0,σ2)
Point Estimation and Evaluative Properties
A point estimator ($\hat{\Theta}$) is a function used to provide a single "best guess" for a parameter θ.
Bias: The difference between the expected value of the estimator and the true parameter.
Bias(Θ^)=E(Θ^)−θ
An estimator is unbiased if E(Θ^)=θ.
Standard Error (SE): The standard deviation of the estimator, quantifying uncertainty. Smaller SE indicates higher precision.
SE(Θ^j)=Var(Θ^j)
Mean Squared Error (MSE): Measures the total error by combining squared bias (systematic error) and variance (random error).
MSE(Θ^)=Bias(Θ^)2+Var(Θ^)
While the sample mean typically has lower MSE for normal data, the sample median may outperform it in small samples from skewed distributions (e.g., Gamma Distribution) or data with outliers.