The jackknife variance estimator estimates the sampling variance of the full-data estimator, using the deletion estimates and their mean from jackknife resampling:
The square root is the estimated standard error. The factor multiplies the divisor- variance of the deletion estimates: those estimates vary less than estimates from new independent experiments because almost all their observations are shared. Ryan Tibshirani's [ref] give the same scaling in terms of the divisor- sample variance of the deletion estimates.
For the sample mean, this formula has an exact algebraic simplification. With denoting the usual sample variance,
and therefore
Under the independent and identically distributed assumption and a finite second moment, is an unbiased estimator of the population variance . Consequently is an unbiased estimator of the sample mean's sampling variance . The equality itself holds for any observed data with ; its sampling interpretation uses the stated assumptions.
For , the sum of squared deviations from the sample mean is , giving sample variance . The deletion sample means have squared deviations totaling , so
Here estimates the variance of individual observations, while estimates the sampling variance of their sample mean. These answer different questions.
For more general statistics, validity requires regularity beyond the deletion formula, such as a sufficiently smooth function of sample means with suitable moments. Ordinary delete-one jackknife resampling can fail for nonsmooth quantiles, including the median; see Larry Wasserman's [ref]. With statistical dependence, deleting individual observations need not reproduce the relevant sampling variance; the deletion scheme must reflect that statistical dependence. Shalizi's [ref] distinguish the basic independent and identically distributed case from extensions.
For and , this estimator preserves the sample mean and applies James–Stein shrinkage in its orthogonal -dimensional contrast subspace. Its risk under quadratic loss is . The noncentrality is , so the reciprocal moment of a noncentral chi-squared variable makes the risk minimal exactly when all true components coincide; the minimum is . A negative realized shrinkage factor reverses contrast signs, and its magnitude can exceed one for sufficiently small contrast norm.
Choose the five numbers as an original illustration. Their sample median is 2 and their sample mean is 4. The sum of absolute losses at the sample median is
If these numbers were modeled as an independent and identically distributed Laplace distribution sample, the joint maximum-likelihood estimates would therefore be and . Using the sample mean instead gives , so it does not maximize this likelihood function.
Now replace only 10 by 100. The sample median stays at 2, while the sample mean becomes . The minimized sum of absolute losses rises to , and the fitted scale rises to . Stability of the fitted location therefore does not mean stability of every fitted parameter.
Figure 1.
Chosen five-value example: moving the largest value leaves the median fixed but moves the mean
. Details.
The left panel subtracts each objective's minimum so the two absolute loss curves can be compared despite the different totals. The right panel tracks the sample mean and sample median as the largest chosen value changes. This is an outlier sensitivity illustration, not actual observations or a check that a Laplace distribution fits any population. In applications, regression residuals and the data-generating assumptions need separate examination; a stable sample median alone does not validate a statistical model.
Law of large numbers 2026-10-14
Laws of large numbers give conditions under which sample means approach a deterministic expected value. For independent and identically distributed random variables with , the strong law of large numbers gives almost sure convergence, while the weak law of large numbers gives convergence in probability. These conclusions specify different modes of convergence of random variables, rather than a universal numerical accuracy guarantee. The central limit theorem is a separate result about the remaining fluctuations after rescaling.
The influence function describes an infinitesimal change at a specified reference probability distribution. The replacement breakdown point asks how many observations in a particular finite sample can be replaced before an estimator becomes unbounded. The finite-sample maximum bias records the intervening changes. These are different questions: a bounded influence function at one baseline is not a general bound over all epsilon-contamination neighborhoods, nor a proof of a positive replacement breakdown point.[ref]
The mean illustrates agreement between local and global fragility: its gross-error sensitivity is infinite and one replacement can send the sample mean arbitrarily far. The median has finite gross-error sensitivity under the stated positive-density assumptions, while its sample median withstands fewer than about half the observations being replaced under ordinary tie conventions. Its population contamination bias above still diverges as when the atom remains beyond the shifted median. Here must also move outward; taking that limit with a fixed finite atom would invalidate the displayed quantile formula.
For scalar location with a fixed positive scale, the Huber score has a direct global argument: if strictly more than half of the sample stays fixed, then beyond every retained observation by more than , their saturated scores outweigh all possible replaced scores. Every root therefore stays in a bounded interval. This is a separate finite-replacement argument; estimating scale changes its premises. A smooth bounded influence function is valuable local protection, but global robustness also depends on the full estimating rule, scale choice, and root selection.
For the same massless spring obeying Hooke's law, the frequency is . The displayed mass ratio follows. For small independent frequency errors with common fractional standard uncertainty , monomial uncertainty propagation gives . If instead describes individual measurements and each sample mean uses independent trials, its standard error is smaller by , giving . Four times as many trials halve this statistical uncertainty; a common calibration error needs its covariance included.
Maximum likelihood estimation Created 2026-09-24 Updated 2026-10-14
Maximum likelihood estimation is a method of statistical estimation: within a specified statistical model, choose the statistical parameter values that maximize the likelihood function of the observed data. For a parameter set and observations , its exact requirement is
The equality requires an attained, finite maximum; a supremum approached only at an excluded boundary is not enough. The resulting rule is a maximum-likelihood estimator. The likelihood function uses a probability mass function for discrete data and a probability density function for continuous data. See MIT 18.05, Reading 10b, sections 3 and 3.2.
The direction of the comparison is the interesting part: hold the observations fixed and vary the statistical parameter. Ten independent Bernoulli trials with eight successes and two failures give the maximum-likelihood estimate , as derived in log-likelihood. This chooses the member of the statistical model that assigns the greatest mass to that outcome. It does not assert an posterior probability that this parameter value is true. Bayesian statistics combines the same likelihood function with a prior distribution to obtain a posterior distribution; maximum a posteriori estimation maximizes that posterior mass or density instead.
The method turns many fitting tasks into one maximization problem. In the normal distribution model with known variance, it recovers the sample mean and ordinary least squares, while binomial regression and Poisson regression use different sampling assumptions to build their own likelihood functions. The log-likelihood turns independent contributions into a sum, exposing score equations and observed information. A peak's location gives an estimate; its shape records how much the observed data distinguish nearby parameter values.
Existence, uniqueness, bias, and statistical consistency are separate questions. Normal mean and variance maximum-likelihood estimators include a variance estimate with bias, likelihood supremum at an excluded boundary gives nonexistence, and the Neyman-Scott incidental parameter problem gives inconsistency. The usual asymptotic normality of a maximum likelihood estimator requires assumptions: a consistent estimator at an interior true parameter in a fixed finite-dimensional model with identifiability, sufficient smoothness and control of log-likelihood derivatives, and finite nonsingular Fisher information. A common parameter-independent support of a probability distribution is part of a standard sufficient framework; see Rigollet, MIT 18.650, Maximum Likelihood Estimation, slides 22-23. This is a description of the regular setting, not a complete theorem's hypotheses. The exact endpoint limit for a shifted exponential distribution shows why changing support can produce a different rate and a nonnormal limit. These properties do not follow just from maximizing a function.
In his 1922 paper in the Royal Society's Philosophical Transactions A, R. A. Fisher explicitly distinguished likelihood from probability and described choosing the parameter values with greatest likelihood. Section 6 also discusses comparing likelihoods after giving the maximum value one, the convention used in the figures here. See Fisher, On the Mathematical Foundations of Theoretical Statistics, section 6, pp. 326-328, DOI 10.1098/rsta.1922.0009.
Maximum-likelihood estimator Created 2026-09-24 Updated 2026-10-14
A maximum-likelihood estimator is an estimator whose value maximizes the likelihood function for each sample where a finite maximizer exists. Before observation, is a random variable (the choice of maximizer must be a measurable function); after observation, is the numerical maximum-likelihood estimate. A formula must specify the allowed parameter set, including whether its endpoints belong to it.
For ten independent Bernoulli trials, write . On the closed parameter interval , the binomial proportion maximum-likelihood estimator is . Eight successes give the estimate . If , the likelihood is and has its unique maximum at ; if , it is and has its unique maximum at . On the open interval these two samples have no maximum-likelihood estimate: the supremum is one, but it is not attained. This is the same issue as likelihood supremum at an excluded boundary.
A complete continuous example uses independent and identically distributed random variables with unknown mean and known standard deviation one. Their likelihood function and log-likelihood are
The sum of squared deviations separates as
because . The first term is fixed in , so the unique maximum-likelihood estimator is the sample mean . This also proves the equivalence with ordinary least squares for this model. With the constructed observations , the sample mean is one and the residual sum of squares is ten; hence
At or , the log-likelihood is two below its peak, so the likelihood ratio to the fitted value is . The absolute likelihood at the peak is , a joint density value, not the probability of observing exactly those four real numbers.
The following figure compares that sample with a constructed sixteen-observation sample consisting of four repetitions of the displayed four values, modeled as sixteen independent draws. Both fits have sample mean one, but
Thus the observed information is four times as large for as for . The distance from the peak at relative height decreases from one to : the width scales as . This is a comparison of two stipulated samples; merely copying recorded observations would not create new independent evidence.
Figure 1.
Known-variance normal mean: the same fitted mean with different likelihood curvature
. Details.
Even uniqueness needs checking. If the Bernoulli distribution success parameter is written with , eight successes give two maximum-likelihood estimates, , because both give the same probability distribution. The problem is a failure of identifiability. The special cases below show other ways an MLE can have bias or fail the usual asymptotic normality.
Suppose are independent and identically distributed with normal distribution , where the mean is unknown and the standard deviation is known. The sample mean has normal distribution and standard error . With the standard normal quantile at , the displayed confidence interval has exact coverage probability for every and every positive integer . No central limit theorem approximation is needed.
Take , and nominal confidence 95%. The standard error is , and . Therefore
Rounded for reporting, this is . If , the realized confidence interval is approximately . Exact 95% calibration refers to the unrounded standard normal quantile; using literally gives coverage probability , almost but not exactly 0.95.
The confidence interval's width scales as : increasing sample size from 16 to 64 halves its half-width to . If is unknown, merely substituting the square root of a sample variance loses the displayed exact calibration; for the same normal distribution model, use a Student t confidence interval.
The figure holds the true mean at and independently generates 40 samples of 16 observations from the same normal distribution. NumPy's PCG64 generator with seed 42 gives 39 covering confidence intervals and one miss, at sample 32: observed coverage is . Every bar uses the unrounded standard normal quantile. This finite collection illustrates the moving endpoints; it does not establish the analytic coverage probability or require exactly two misses.
Figure 1.
Forty normal-mean confidence intervals and their exact 95% coverage event
. Details.
The beauty of the construction is that a familiar standard normal distribution calibrates every possible unknown mean at once. For a short proof, the pivotal quantity
has a probability distribution independent of . The event has probability ; rearranging it gives . The right panel shows the equivalent event when .
Normal sample 2026-10-14
A collection of independent identically distributed normal random variables. Orthogonal coordinates in the standardized Gaussian vector separate the sample mean from the residual sum of squares, proving their independence and giving the normal and chi-squared distributions used for exact inference.
The sample mean is . The method of moments equates this to the expected value from part (b):
Hence the estimate is .
Place observations in rows of the data matrix . Since the coordinate sample means are zero, the Gram matrix of its columns is
The sample covariance matrix is ; using divisor three instead changes eigenvalues by a common factor and leaves principal component loadings unchanged. For , the characteristic polynomial is
For the larger eigenvalue , the eigenvector equation gives , so . Normalize to unit Euclidean norm and choose . An orthogonal unit eigenvector for is . Therefore
The sample variances of these principal components are and , respectively. Their principal component scores for observations are
Either eigenvector may be multiplied by without changing its principal component direction or its variance. No coordinate standardization is applied here: that would instead be principal component analysis on a correlation matrix.
The one-dimensional principal component analysis reconstruction lies along through the zero sample mean. Its discarded principal component coordinate is , so
At , . This intersects the retained principal component line with the vertical line at the supplied . It is a reconstruction from that line, rather than an ordinary linear regression of on .
The vector of column sample means is . Subtract it from each observation. The centred data matrix, with cell types in the original order, is
Each column now has sample mean zero.
After subtracting the same training sample mean, E has vector and principal component scores . The difference from D lies entirely along the first principal component. Its Euclidean distance in the retained plane is
The new point must use the original centring and loadings; recomputing them with E included would change the question.
Combining the first two parts gives the centroid sum-of-squares identity
The added term is nonnegative and, since , vanishes exactly at . Thus the unique minimizing centroid in this step of K-means clustering is
An empty cluster needs a separate algorithmic convention because its sample mean is undefined and its objective is identically zero.
Let each observation have dimension , and define the sample mean and the divisor- sample covariance matrix by
The multivariate normal distribution gives the log-likelihood
Writing makes the cross terms vanish, and the last sum becomes . Since is a positive-definite matrix, its minimum over the mean is at . Consequently
When is a positive-definite matrix, . Thus
where depends on the data but not on .
For the maximum-likelihood estimator, consider the positive-definite matrix , with positive eigenvalues . The part of the profile likelihood depending on is . The elementary inequality , with equality exactly at , shows that the unique maximizing matrix is . Hence
The divisor is , not the unbiased covariance divisor . The regularity qualification matters: if is singular, the displayed logarithm of its determinant is not finite, and no positive-definite covariance maximizes the likelihood. Sending the fitted variance in a null direction of to zero makes the likelihood unbounded. For a nonsingular normal population, is positive definite almost surely when , which is the setting of the large-sample test.
Let be the one-observation cumulant-generating function, finite on an open interval containing zero. At a value , find the real tilt solving
If the distribution is nondegenerate then in the interior, so the solution is unique whenever is in the range of . The leading saddlepoint density approximation to the sample mean is
To derive it, use exponential tilting:
Under this tilted distribution the mean is and the variance is , by differentiating its cumulant function . For , changing measure gives the exact density identity
At , is the tilted mean. A local normal approximation there gives . The Jacobian determinant for contributes the factor , yielding the boxed formula.
This approximation retains the exponential large-deviation factor, while the curvature is evaluated at the tilt appropriate to each . At the population mean, , so it reduces to the usual central normal approximation. Under suitable smooth nonlattice transform-inversion conditions, its relative error at fixed interior is ; existence of a few moments alone does not establish this density accuracy. Boundary values and absent exponential moments need separate treatment. The leading density need not integrate exactly to one, so it can be divided by its integral when a normalized approximation is desired.
A finite-dimensional exponential family has common dominating measure and density
Here is the natural parameter of an exponential family, and normalization determines the cumulant function of an exponential family . A full regular family lets vary over an open natural parameter domain. A curved exponential family restricts to a lower-dimensional submanifold, while a minimal representation removes redundant affine combinations of the statistic.
Differentiating the normalization under regularity gives
Consequently is convex and its Hessian is the Fisher information matrix in natural coordinates. For an independent size- sample, is a sufficient statistic: the joint density factors into times , so the conditional law given loses its parameter dependence. An interior maximum-likelihood estimator solves
matching empirical and theoretical sufficient-statistic means. Under minimality the Hessian is positive definite, so the log-likelihood is strictly concave; existence of an interior maximizer still needs the observed statistic to be in the appropriate interior convex support.
For a full open natural family, the canonical sufficient statistic is a complete statistic: if throughout the open domain, exponential tilting about an interior point makes the Laplace transform of the integrable signed measure zero on a neighborhood. Transform uniqueness makes that measure zero, so almost surely. This requires integrability under the family. It is not an automatic property of curved restrictions. The sufficient-statistic reduction, explicit information and cumulant identities make these families especially useful for exact and higher-order inference. Normal distributions, Poisson distributions and gamma distributions supply familiar examples.
A transformation model is built differently: a group acts on the sample and parameter spaces, and its probability laws satisfy
In a transitive model all laws are transforms of a fixed reference law. The location family is generated by translations, with density . The positive-scale family has density , and the location-scale family combines them as
The Jacobian factor is essential. For independent observations its power is . The base density need not have moments, and a transformation model need not have fixed support.
An equivariant estimator respects the parameter action. With a well-defined equivariant fit valued in the transformation group, the normalized sample
is a maximal invariant. Equivariance gives ; if normalized samples agree, is obtained from by . In a transitive transformation model its law is parameter-free, so it is an ancillary statistic. For location and positive scale, centered standardized residuals provide this construction on nondegenerate samples. If the parameter action has a nontrivial stabilizer, normalization must retain its quotient action rather than pretending that a unique group element is determined.
This geometry motivates conditioning on an ancillary and using the P-star approximation for the fitted parameter. Ancillarity means parameter-free distribution; it does not by itself assert independence from the estimator. In a normal location model with known scale, the sample mean and centered residuals are independent by their joint Gaussian law and zero covariance. In an exponential scale model, the sample sum and its normalized proportions are independent, again an additional model property.
The two classes overlap but are distinct. A normal location-scale family is both an exponential family and a transformation model; an exponential mean family is both a one-dimensional natural exponential family and a scale model. A general Cauchy distribution location family is a transformation model without a fixed finite-dimensional regular exponential-family sufficient-statistic reduction. Exponential-family structure emphasizes sufficient statistics and natural-parameter convexity; transformation structure emphasizes equivariance, group orbits and ancillary reduction.