Estimation §
Estimation is the task of inferring the value of an unknown parameter from observed data. It is the most basic form of statistical inference: given a sampling model and observed data , produce a number (point estimate) or an interval (confidence interval) for .
Authoritative sources
Maximum likelihood estimation §
Given a likelihood , the MLE is
where is the log-likelihood.
Details
The MLE has several key properties:
- Consistency: as under regularity conditions.
- Asymptotic normality: where is the Fisher information. This result rests on the Limit theorems (in particular the CLT applied to the score).
- Efficiency: the MLE achieves the Cramér–Rao lower bound asymptotically.
- Invariance: if is the MLE of , then is the MLE of .
The score function is . Under regularity conditions its expectation is zero, , and its variance is the Fisher information: . The MLE is the value of at which the score vanishes, . The Fisher information thus measures the curvature of the log-likelihood and controls the asymptotic variance of the MLE.
Example. For with known , the MLE is and .
The MLE is a special case of the more general framework of Distributions: the likelihood is the density of the data viewed as a function of the parameter.
Connection to Bayesian inference. The MLE coincides with the Bayesian MAP (maximum a posteriori) estimate when the prior is flat (uniform). See Bayesian inference for the full posterior-based approach.
Method of moments §
Equate sample moments to population moments:
Solve for .
Details
The method of moments is simpler than MLE but generally less efficient. It works by matching the first sample moments to the first theoretical moments, where is the number of parameters.
Example. For (shape–rate), set and to get and .
Cramér–Rao lower bound §
For any unbiased estimator of :
Details
The Cramér–Rao bound gives a lower bound on the variance of any unbiased estimator. An estimator that achieves the bound is called efficient. The MLE is asymptotically efficient: its variance approaches the bound as .
The bound can be violated for finite samples (e.g., the sample mean for a uniform distribution), and it does not apply to biased estimators without modification.
Example. For with known , and the bound is , which is achieved by .
Bias–variance tradeoff §
The mean squared error of an estimator decomposes as
where .
Details
The decomposition shows that an estimator’s total error has two independent sources: systematic error (bias) and random fluctuation (variance). The Cramér–Rao bound constrains only the variance of unbiased estimators; a biased estimator can have lower MSE by trading some bias for reduced variance.
Example. For with known , the sample mean is unbiased and achieves the CRLB. The estimator with is biased (bias ), but its MSE is , which can be smaller than for large .
This tradeoff is the key lens for comparing estimators beyond the Cramér–Rao bound and connects directly to the bias–variance decomposition in Bayesian inference (posterior mean vs. MAP).
Sufficient statistics §
A statistic is sufficient for if the conditional distribution of given does not depend on .
Details
Fisher’s factorization theorem. is sufficient for if and only if the likelihood factors as
for some functions and (where does not depend on ).
Rao–Blackwell theorem. If is any unbiased estimator of and is a sufficient statistic, then is also unbiased and has variance no greater than that of . Conditioning on a sufficient statistic can only reduce variance.
Example. For with both parameters unknown, is sufficient. For the sufficient statistic is .
Sufficiency is the bridge between the raw data and the minimal information needed for estimation; it underlies the construction of UMVU (uniformly minimum-variance unbiased) estimators.
Confidence intervals §
A confidence interval for is a random interval such that
Details
Construction methods:
- Pivotal quantity: find a statistic whose distribution does not depend on (a pivot). Invert the pivot’s quantiles.
- Asymptotic (Wald): use .
- Likelihood ratio: .
The coverage probability is a property of the procedure, not of the realized interval. A 95% CI means that 95% of intervals generated by repeated sampling contain the true parameter.
Example. For with known , the pivot is and the 95% CI is .
Interactive simulation §
Example problem §
Problem. A factory produces bolts whose diameters are cm. A sample of bolts has mean diameter cm. (a) Find the MLE of . (b) Construct a 95% confidence interval for . (c) What is the Cramér–Rao lower bound on ?
Solution
(a) The MLE is cm.
(b) Since is known, the 95% CI is
so the interval is cm.
(c) The Fisher information for one observation is and for observations is . The Cramér–Rao bound is
The sample mean achieves this bound, confirming it is efficient.