Asymptotic Statistics
What is the best possible estimator in large samples, and why is 'best' so hard to define?
In 1951 Hodges builds an estimator that reports the sample mean unless it is within n to the minus one quarter of zero, and then reports zero: at zero its scaled risk tends to zero, below Fisher's bound. The exact risks show the price, a bump just beside zero that grows like root n. To say in what sense the MLE is best, the part first builds the large-sample toolkit: stochastic orders and the delta method, M-estimators with the sandwich variance (Huber on Newcomb's light), the Bahadur representation of quantiles, influence functions, U-statistics and rank statistics by Hajek's projection. Le Cam's local asymptotic normality then shows every regular model looking locally like one Gaussian observation, contiguity gives local power, and Hajek's convolution and local asymptotic minimax theorems state the optimality: the risk-bump explorer shows Hodges's local risk tending to h squared, below one only inside the unit neighbourhood. The theory is then used on the efficiency of tests, the bootstrap's second-order accuracy, saddlepoints, and the uniform maximum, where the ordinary bootstrap fails and m-out-of-n repairs it.
What you need. Part 43's weak convergence and Part 45's information bounds; likelihood theory at the level of Part 22; multivariate calculus for the delta method.
- Hook
- Hodges' superefficiency, 1951
- Mathematics
- M/Z-estimators, influence functions, U-statistics, LAN, contiguity, Le Cam's lemmas, Hájek's theorems, efficiency of tests, bootstrap theory, Edgeworth, saddlepoints
- Built
- a risk-bump explorer
What you will be able to do
Bachelor's
- Describe Hodges's estimator and say what its risk does at zero and just beside zero.
- Explain why 'smaller risk at one parameter value' is not a sensible meaning of best.
Master's
- Derive the sandwich variance of an M-estimator and compute it for Huber's location estimate.
- Compute a Pitman efficiency from two efficacies and convert it into a ratio of sample sizes.
- Compute local power at theta = h / sqrt(n) from the information.
PhD
- Prove asymptotic normality of a Z-estimator from a uniform law and a Taylor expansion, and state what replaces the derivative for a sample quantile.
- State LAN and Le Cam's third lemma, and derive the limit law of a statistic under contiguous alternatives.
- State the convolution theorem and the local asymptotic minimax theorem with the order of their limits, and show that Hodges's estimator is not regular.
Practice
- Choose among the t, sign and Wilcoxon tests from their efficiencies under the error laws you consider plausible.
- Choose a bootstrap interval (percentile, BCa, bootstrap-t) knowing which is second-order accurate, and use m-out-of-n when the statistic is a maximum.
Contents
Each chapter has a home level. Choose a track to see what to read and watch: Bachelor's 6 min · Master's 13 min · PhD 58 min · Practice 13 min.
- 0Hodges's estimator, 1951Bachelor's4 min
- 1Stochastic orders and the toolkitPhD4 min
- 2M- and Z-estimatorsPhD5 min
- 3Quantiles and the Bahadur representationPhD4 min
- 4Influence functions and the functional delta methodPhD4 min
- 5U-statisticsPhD4 min
- 6Rank statisticsPhD4 min
- 7Local asymptotic normalityPhD4 min
- 8Contiguity and local powerPhD4 min
- 9The convolution and LAM theoremsPhD4 min
- 10Efficiency of testsPractice3 min
- 11The bootstrap, rigorouslyPractice4 min
- 12Saddlepoint approximationsPhD3 min
- 13Non-regular modelsPhD5 min
- Recap, problems, and the road aheadAll tracks2 min
Also on this page: Lecture · Key results · Try it · Lab · Problems · Notes and sources · Build the film.
Lecture
The text of each chapter is the film's narration, as it is spoken, so you can read along or revise without the film. The pictures are in the film. A dashed box stands for a number the film computes when it is rendered (hover over it to see what is computed); the README's figures for each chapter, where it lists them, follow the chapter's text.
Hodges's estimator, 1951Bachelor's4 min
Fisher had claimed that no estimator can have a smaller asymptotic variance than the maximum likelihood estimate's, one over n times the information. In 1951 Joseph Hodges produced a counterexample. For normal data, use the sample mean, unless it is within n to the minus one quarter of zero, in which case report zero. At theta equal to zero this estimator's scaled risk goes to zero, beating the bound; at every other theta its limit is the same as the mean's. Lucien Le Cam showed in 1953 that such superefficiency can happen only on a set of measure zero, and Jaroslav Hájek found the theorem that says exactly in what sense the MLE is best. This part builds the toolkit and proof outlines for the regular-model convolution and local asymptotic minimax theorems.
Here are the exact risks, scaled by n so that the sample mean's is one everywhere. Hodges's estimator, for twenty-five, a hundred, a thousand and ten thousand observations. At zero its scaled risk is , then , and heads to zero. But just beside zero there is a bump, where the estimator says zero when the truth is not, and the bump grows taller and narrower with n. At a fixed nonzero theta the bump eventually passes by, which is why the pointwise limit looks so good.
Zoom in at the natural scale, theta equal to h over root n, and plot the scaled risk on a log scale. For a hundred, ten thousand and a million observations, the peaks are , about , and about , reached near h equal to n to the one quarter, the edge of Hodges's zone. The worst local risk grows like root n without bound. Superefficiency at one point is paid for by catastrophe nearby.
So the question of this part: if not at each point separately, in what sense is the maximum likelihood estimate best? The answer, in chapter nine, is local and uniform: in a regular LAN model, first let sample size grow over local alternatives of radius c over root n, then let c grow without bound. The Gaussian experiment gives a minimax lower bound in that order. At a fixed small c an estimator such as Hodges can beat the mean in worst-case risk. Getting there needs the modern toolkit of large-sample theory, which also explains why tests have the power they have, why the bootstrap is accurate, and what to do when the regularity fails.
Three promises are due. Part twenty-two stated that the MLE is asymptotically normal with the inverse information as its variance; chapters one and two prove it for M-estimators in general. Part forty-five proved the Cramér–Rao bound for unbiased estimators and warned about Hodges; chapters seven to nine distinguish the convolution theorem for regular estimators from the local asymptotic minimax lower bound for arbitrary estimators in a regular model. And Part sixteen used the bootstrap on a first-order argument; chapter eleven explains how studentization and additional smoothness, moment and nonlattice conditions can improve bootstrap accuracy.
Numbers: n·MSE at 0: 0.17 (n = 25), 0.019 (n = 100); local peaks 5.6, 69, 858 at h ≈ n^{1/4}
1Stochastic orders and the toolkitPhD4 min
Stochastic orders and the toolkit: bookkeeping for things that go to zero at random.
Two pieces of notation carry most of the subject. X n is little-oh-P of r n if X n over r n goes to zero in probability. It is big-oh-P of r n if it is bounded in probability: for any epsilon, a single bound M works for every n except with probability epsilon. Bounded in probability is the same as tight, and by Prokhorov's theorem from Part forty-three, the same as every subsequence having a weakly convergent subsequence. They combine like their deterministic cousins: bounded times small is small, small plus bounded is bounded.
Slutsky's lemma: if X n converges in distribution and Y n converges in probability to a constant, their sum and product converge to what you would expect. The continuous mapping theorem: continuous functions preserve convergence in distribution. Together they give the most used fact in statistics: the t statistic is asymptotically standard normal for independent identically distributed observations with finite, strictly positive variance, because s converges in probability to sigma. The usual t calibration is asymptotically valid in that setting. Finite variance does not ensure fast convergence, and dependence requires an appropriate variance estimate and limit theorem.
The delta method, proved. Suppose root n times T n minus theta converges in distribution, and g is differentiable at theta. By the definition of the derivative, g of T n minus g of theta is g prime times the difference, plus something small compared with the difference. Multiply by root n: the first term converges by the continuous mapping theorem, and the remainder is small, because the difference is of order one over root n in probability, so anything small compared with it is little-oh-P of one over root n. Part eleven used this; here is why it holds.
The vector versions come cheaply. By the Cramér–Wold device from Part forty-three, a random vector converges in distribution exactly when every linear combination does. So the multivariate central limit theorem follows from the univariate one, one direction at a time. And the delta method uses the gradient: the limit variance is the gradient times the covariance times the gradient. Applied to the sample correlation, a smooth function of five sample moments, it gives a variance of one minus rho squared, squared, over n for normal data; Fisher's z transformation is the function that makes that variance constant.
Watch it work: root n times the log of the mean of exponential data, whose limit by the delta method is standard normal. With five observations the distribution is skewed, skewness , and visibly off. With two hundred, the skewness is and the histogram sits on the curve. The white curve is the limit. For the twice differentiable log map, the scaled Taylor remainder is of order one over root n. The plotted gap also includes finite-sample error in the central limit approximation, the subject of chapter twelve's saddlepoints and Part forty-three's Edgeworth expansions.
If g is twice differentiable near theta and its first derivative is zero, the first-order term vanishes, and the second-order term takes over, at the faster rate n, with a limit that is half the second derivative times the square of the limiting variable. For the square of the mean of data centred at zero, n times x-bar squared tends to sigma squared times a chi-square with one degree of freedom, not a normal. The simulated quantiles agree. Non-normal limits at singular points recur in chapter thirteen.
Numbers: √n log x̄ (Exp): skewness −0.45 (n = 5) → −0.06 (n = 200); n x̄² quantiles vs χ²₁
2M- and Z-estimatorsPhD5 min
M- and Z-estimators: maximize an average, or solve one. Most estimators maximize an average of some criterion over the data: M-estimators, as Peter Huber named them. Or they solve an average estimating equation: Z-estimators. The MLE maximizes the average log-likelihood; the mean solves the average of x minus theta equal to zero; a median minimizes absolute deviations and satisfies a sign subgradient condition. For a discrete sample, an exact ordinary zero of the sign average need not exist. Huber's estimator from Part thirty uses a psi that is linear near the centre and flat in the tails. One theory covers them all.
Consistency needs two things. First, the random criterion converges to its expectation uniformly in theta: a uniform law of large numbers, which Part forty-eight proves for whole classes of functions. Second, the limit criterion has a well-separated maximum at the truth: anything a fixed distance away is strictly worse. Then any estimator that nearly maximizes the random criterion, must be close to the truth with probability tending to one. Uniform convergence prevents a spurious maximum far away from sneaking in, the failure that Wald's 1949 proof for the MLE guarded against.
For a consistent solution, a differentiable estimating equation with a uniformly convergent Jacobian, nonsingular limiting derivative, and a finite-variance score CLT yields an asymptotic linear expansion. For a vector equation use an integrated Jacobian; there need not be one intermediate point that works for every coordinate. Solving it, root n times the error is minus the inverse of the derivative matrix V, times a normalized sum of independent terms, plus something negligible. By the central limit theorem and Slutsky, the limit is normal with the sandwich covariance: V inverse, B, V inverse, where B is the variance of psi. For the MLE, V is minus the information and B is the information, so the sandwich collapses to the inverse information: Part twenty-two's statement, now proved, under those conditions. Nonsmooth quantile scores need a separate stochastic-equicontinuity argument, rather than a literal derivative of the sample signs.
Check the sandwich against simulation, for Huber's estimator with fifty observations. For normal errors the sandwich formula gives for n times the variance, and the simulation ; the mean's is one. With ten percent of the errors five times as spread out, the sandwich gives and the simulation , while the mean's variance jumps to . The formula predicts the finite-sample behaviour well, and it quantifies Huber's bargain: five percent lost at the normal, more than half the variance saved under contamination.
Real data: Simon Newcomb's sixty-six measurements of the passage time of light, one of them a wild . The mean is , with a standard error of , dragged down by the outliers. Huber's estimate is , and its sandwich standard error is , half the mean's. The median, , agrees with Huber. The sandwich standard error is computed from the data's own psi values, so it is a plug-in asymptotic calculation, not a distribution-free guarantee. Here the scale is estimated by the MAD; symmetry makes its first-order effect on location orthogonal. Without symmetry, joint location-scale uncertainty needs a fuller sandwich. The mean and Huber location can also target different functionals outside a symmetric model.
The theory does not need the model to be right. Under suitable identification, uniform convergence, and a well-separated finite maximizer, a misspecified likelihood can converge to its pseudo-true KL projection. Its variance is the sandwich, not the inverse information: Huber's result of 1967, made central to econometrics by Halbert White in 1982. When the model is right, V equals minus B, the information equality; misspecification can break that equality, although some wrong models still satisfy it. An information-matrix test also needs its own estimated null distribution. Part twenty-three's robust standard errors are this theorem, applied to least squares.
Numbers: Huber n·Var: sandwich 1.053 vs 1.065; contaminated 1.374 vs 1.378 (mean 3.37); Newcomb 27.38 (SE 0.64) vs 26.21 (1.32)
3Quantiles and the Bahadur representationPhD4 min
Quantiles and the Bahadur representation: a sample quantile is an average in disguise. The p-th sample quantile estimates the p-th population quantile, for independent observations, at a unique quantile with p strictly between zero and one and a continuous positive density. The event that it lies below the truth plus t over root n is the event that enough observations fall below that point: a binomial count. The binomial's normal limit, with the density converting the shift in the argument into a shift in probability, gives asymptotic normality with variance p times one minus p over the density squared. For the median of normal data that is pi over two times sigma squared: an efficiency of sixty-four percent against the mean, as Part thirty found.
Raghu Raj Bahadur showed in 1966 that the sample quantile is, to first order, an average. It equals the true quantile, plus p minus the empirical distribution function at the true quantile, over the density, plus a remainder. The middle term is an average of independent bounded terms, one per observation: their influence. The remainder is of order n to the minus three quarters, up to logarithms, under additional local smoothness of the density. The displayed almost-sure logarithmic bound is a useful bound; we are not deriving the sharpest pointwise Kiefer constant. A separate fixed-quantile probabilistic remainder bound gives root-n-scaled remainder of order n to the minus one quarter in probability, under the stated density regularity; that statement does not follow by simply discarding logarithms from the almost-sure bound. much more slowly than for smooth M-estimators, because the indicator function is not differentiable.
Simulated, for the median of normal samples. The standard deviation of root n times the error matches the theory, root of pi over two, at every sample size. The root-mean-square of the scaled remainder falls from point five seven to point one eight as n grows a hundredfold, and multiplied by n to the one quarter it stays roughly constant: numerical support for that fixed-quantile rate, rather than a proof of it.
Quantiles also have an exact interval that needs no density at all. The chance that the true quantile lies between two order statistics is a binomial probability: it depends only on how many observations fall below the quantile. So the interval is exact for every continuous distribution. Its indices are roughly n p plus or minus z times the binomial standard deviation. For the median of twenty observations, the sixth and fifteenth order statistics cover with probability point nine five nine, whatever the distribution.
What does the representation buy? Joint limits of several quantiles at once, and of statistics built from them: the interquartile range, L-estimators, trimmed means. The same linearization drives quantile regression and median survival times from earlier parts. It identifies the quantile's influence function, which is bounded for fixed positive density at the target. That is a local contamination sensitivity statement, rather than a guarantee under arbitrary large contamination. But the variance involves the density at the quantile, which is hard to estimate, which is why intervals for quantiles usually come from order statistics or the bootstrap instead.
Numbers: SD 1.24 vs √(π/2) = 1.253; remainder RMS 0.57 → 0.18 (n = 50 → 5,000)
4Influence functions and the functional delta methodPhD4 min
Influence functions and the functional delta method: differentiating a statistic with respect to the data.
Richard von Mises's view of 1947: a statistic is a functional T of the empirical distribution, estimating the same functional of the true distribution. Frank Hampel's influence function, of 1974, is its derivative in the direction of a point mass: how much the functional moves when a little probability is added at x. For an asymptotically linear functional, the estimation error has an expansion as the average of centered influence terms plus a small remainder. Existence of a point-contamination derivative alone does not establish this expansion. For independent observations, if the influence function has finite second moment and the remainder is little-oh of one over root n, the estimator is asymptotically normal with variance the expected squared influence. Chapter two's M-estimators and chapter three's quantiles are special cases.
The influence functions of four location estimators at the normal. The mean's is x minus mu: a straight line, unbounded, so one wild observation can move it arbitrarily far. The median's is a step: only the side of the median matters. Huber's is linear in the middle and flat beyond k. The trimmed mean's is similar, flat beyond the trimming points. A bounded influence function means the first derivative with respect to a small contamination fraction is uniformly bounded in its location. This local statement does not by itself establish finite-sample breakdown protection: Part thirty's robustness, as a derivative.
To make the remainder rigorous, think of the whole empirical distribution function as the random object. For the class of CDF indicators, the empirical process converges to a Brownian bridge composed with F in the appropriate bounded-function space: Donsker's theorem, the subject of Part forty-eight. If T is Hadamard differentiable, tangentially to the empirical-process limit space, with a continuous linear derivative, meaning its difference quotients converge along admissible converging directions, then the functional delta method gives the limit of root n times T of F n minus T of F: the derivative applied to the Brownian bridge, a normal variable. Quantiles with positive continuous density and regular M-functionals qualify in suitable spaces. Moment functionals require moment control or weighted topologies. Supremum and KS maps at a null are generally only directionally differentiable, with nonlinear limits; ordinary differentiability and bootstrap conclusions do not automatically extend to them. Chapter eleven uses exactly this property to prove that the bootstrap works.
An example. The variance functional's influence function is the squared deviation minus the variance. So n times the variance of the sample variance tends to the fourth central moment minus sigma to the fourth: it depends on the tails. For normal data that is two, and forty observations give by simulation. For a t distribution with five degrees of freedom, scaled to unit variance, it is eight, four times larger, and the simulation gives . For the unbiased sample variance at n equal to forty, the exact finite-sample values of n times its variance are about two point zero five and eight point zero five. The t-five Monte Carlo risk estimate is noisy because eighth moments do not exist. Mean tests also need suitable moments and can converge slowly under heavy tails.
The influence function earns its keep three ways. It gives a variance estimate, by averaging its squared estimates over the data: the infinitesimal jackknife, which Part thirty-four used for random forests. Its supremum, the gross-error sensitivity, measures robustness. And in Part forty-nine it becomes a design tool: semiparametric efficiency theory looks for the influence function with the smallest variance.
Numbers: n·Var(s²): 2.04 vs 2 (normal), 7.75 vs 8 (t₅)
5U-statisticsPhD4 min
For independent identically distributed observations, a U-statistic averages a symmetric integrable kernel h over all pairs of observations; it is unbiased for the kernel's expectation, and Wassily Hoeffding developed their theory in 1948. With h equal to half the squared difference, U is the sample variance. With the absolute difference, Gini's mean difference. And with indicators of signs or sums, the Wilcoxon statistic, Kendall's tau and the Mann–Whitney statistic: much of nonparametric statistics is U-statistics.
Hoeffding's idea: average the kernel over its second argument, giving a function of one observation, h one, with variance zeta one. The projection of U onto sums of functions of single observations is theta plus two over n times the sum of h one: a plain average. The exact variance of U combines zeta one and the kernel's own variance, zeta two. With a finite second moment of the kernel, the difference between U and its projection is of order one over n in probability, so when zeta one is positive, root n times U minus theta is asymptotically normal with variance four zeta one.
Gini's mean difference for normal data, where both zetas can be computed by quadrature. The exact variance formula matches the simulation at ten, twenty and fifty observations. The first-order variance from the projection alone is twelve percent too small at ten, six percent at twenty and two and a half percent at fifty: the projection captures almost everything.
When zeta one is zero, the projection vanishes and the kernel is called degenerate; this is typical for test statistics under the null. For a centered degenerate square-integrable kernel, use the spectral expansion of its self-adjoint Hilbert–Schmidt operator. Then n times U, at the faster rate n, converges to a weighted sum of centred chi-squares, not to a normal. The simplest case, the kernel x times y for data with mean zero and variance one, has one nonzero eigenvalue equal to one, and n U converges to a chi-square with one degree of freedom, minus one. Energy distances and kernel two-sample tests are built on this.
Simulated: twenty thousand values of n U with two hundred observations. In white, the density of chi-square one minus one. The mean is and the variance , against zero and two. The limit is skewed and bounded below by minus one: a normal approximation would be badly wrong.
Jaroslav Hájek generalized the idea in 1968. For any statistic of independent observations, the sum of its conditional expectations given each observation, suitably centred, is the best approximation by a sum of functions of one observation each: an orthogonal projection, in Part forty-four's sense. If the projection captures almost all variance and its independent summands satisfy a central limit theorem, for example by Lindeberg, the standardized statistic inherits that normal limit. Variance capture alone is insufficient. Next, this is applied where no obvious kernel is in sight: statistics built from ranks.
Numbers: Gini Var: exact 0.074, first order 0.065, simulated 0.073 (n = 10); degenerate n U: mean −0.004, var 2.04
6Rank statisticsPhD4 min
Rank statistics: how much is lost by keeping only the order? Frank Wilcoxon's signed-rank statistic adds up the ranks of the absolute values of the positive observations. Under the null of a distribution symmetric about zero, the signs are fair coins independent of the ranks, so its null distribution is the same for every such distribution. For a continuous symmetric distribution F, the exact centered projection is the sum of indicator X positive minus one half, plus n minus one times F of X minus one half. This follows from the Walsh identity: W counts positive pair sums including diagonal pairs. Each projected term depends on one observation. So the standardized statistic is asymptotically standard normal under the symmetric null. Under regular local shifts it has a shifted normal limit, which determines power.
Power against local shifts h over root n, with thirty observations of unit variance. For normal errors, the t test is slightly better: at h equal to two, sixty-two percent against sixty-one. For Laplace errors, Wilcoxon wins clearly: seventy-three percent against sixty-three. For the heavy-tailed t with three degrees of freedom, eighty-three against seventy-one. Using the signs and the ranks of magnitudes costs little at the normal and gains in these other symmetric models.
The asymptotic relative efficiency of Wilcoxon's test to the t test, in Pitman's sense of chapter ten, is twelve sigma squared times the square of the integral of the density squared. At the normal, three over pi: ninety-five and a half percent. At the Laplace, one and a half; at the t with three degrees of freedom, nearly two. And Joseph Hodges and Erich Lehmann proved in 1956 that it is never below one hundred and eight over one hundred and twenty-five, eighty-six percent, for the regular symmetric finite-variance location densities covered by that theorem. The Wilcoxon test is never much worse than the t test, and can be infinitely better.
Every rank test has an estimator hidden inside it. Hodges and Lehmann's estimator is the median of all pairwise averages of the observations. It is the value of theta at which the Wilcoxon statistic of the shifted data crosses its null centre. The statistic is a step function, so the center may be an interval or require a convention; the Walsh median is the usual estimate. Its efficiency relative to the mean is the same as the test's relative to the t test: ninety-five and a half percent at the normal, at least eighty-six percent under the stated regular symmetric finite-variance conditions. And it tolerates twenty-nine percent of arbitrary contamination before breaking down, as Part thirty found.
Wilcoxon's is one of a family: sums of scores of the ranks. For a suitably differentiable location density with finite positive Fisher information there is an optimal score function, built from the derivative of log f at the quantiles, that makes the rank test locally most powerful, and asymptotically as efficient as the best test that knows f. And Herman Chernoff and Richard Savage proved in 1958 that the normal-scores test has relative efficiency at least one against the t test, under the theorem's continuous finite-variance location-model regularity conditions. Hájek and Zbyněk Šidák's Theory of Rank Tests of 1967 is the classic account.
Numbers: power at h = 2: normal 0.62 / 0.61, Laplace 0.63 / 0.73, t₃ 0.71 / 0.83 (t / Wilcoxon)
7Local asymptotic normalityPhD4 min
Local asymptotic normality: every regular model, seen up close, is one Gaussian observation. Lucien Le Cam's idea of 1960. Fix theta and look at alternatives h over root n away. The log-likelihood ratio between them is a random function of h. In regular models it is, up to a negligible error, a linear term in h minus half a quadratic term with the Fisher information. The linear coefficient is the normalized score, asymptotically normal with variance I. And that is exactly the log-likelihood ratio of a single Gaussian observation with mean h and variance the inverse information. Locally, every regular model looks like one normal observation of the local parameter.
Le Cam's theorem says more than a statement about likelihood ratios. On each fixed finite set of local parameters, convergence of the joint likelihood ratios gives weak convergence of the local experiments. Stronger uniform statements on compact sets require corresponding uniform LAN and tightness assumptions. The local models converges, as a statistical experiment, to the Gaussian shift: one normal observation with unknown mean h and known variance. For suitable bounded continuous loss and local decision problems, limits and lower bounds can be transferred to the Gaussian experiment, and nothing more. So many regular local questions reduce to Gaussian decision problems. That reduction is local and subject to loss and convergence conditions; it is not a global equivalence for every parameter value and action.
Even the Cauchy family, heavy tails and all, is locally asymptotically normal. Its Fisher information is one half. Take h equal to one and a half. With twenty-five observations the simulated log-likelihood ratio has mean and variance ; with four hundred, and . The limit is normal with mean minus h squared I over two, , and variance h squared I. The mean is minus half the variance, as required for a normally distributed log-likelihood ratio with normalized exponential mean one. An arbitrary nonnormal log-likelihood ratio need not have mean minus half its variance.
LAN turns large-sample questions into small-sample ones. In the limit experiment, a single normal observation with mean h, the most powerful test of h equal to zero against positive h rejects for large Y, by Part forty-six's Neyman–Pearson lemma. The normalized score plays the role of Y. So the score test is asymptotically uniformly most powerful against one-sided local alternatives, and no test can do better in the limit. For two-sided or multivariate problems, after specifying the corresponding rotation-invariant Gaussian testing problem, chi-square tests have optimality within that invariant class, so the Wald, score and likelihood ratio tests are asymptotically optimal in that class.
When does LAN hold? The right condition is differentiability in quadratic mean: the square root of the density, as a curve in L two, has a derivative. For independent identically distributed observations, quadratic-mean differentiability gives LAN. We require finite positive definite information for the nonsingular Gaussian shift used here. It is weaker than classical smoothness: the Laplace density, with its kink at the centre, qualifies. The uniform on zero to theta does not, because its square-root-density change has squared L-two size of order the parameter shift, rather than the quadratic differentiability remainder required here. Moving support alone does not rule out QMD in every other model. There the rate is n, not root n, and the local limit is not Gaussian: chapter thirteen.
Numbers: Cauchy, h = 1.5: mean −0.562 vs −0.5625, var 1.14 vs 1.125
8Contiguity and local powerPhD4 min
Contiguity and local power: moving a limit from the null to the alternative. A sequence of alternatives Q n is contiguous to the nulls P n if events that become impossible under the null also become impossible under the alternative: an asymptotic version of absolute continuity. Le Cam's first lemma: if the log-likelihood ratio converges under the null to a normal with mean minus half its variance, the alternatives are contiguous. LAN gives exactly that, so local alternatives are contiguous to the null, and the null to them. The practical consequence: anything negligible under the null, like the remainders in chapters two to five, is also negligible under local alternatives. We can do our expansions once, under the null.
For contrast, consider independent observations and a distinct identifiable fixed alternative with finite positive KL divergence. Under the null, the log-likelihood ratio per observation converges to minus the Kullback–Leibler divergence between the two distributions, so the log-likelihood ratio itself runs off to minus infinity: the null and the alternative become perfectly distinguishable, singular rather than contiguous. Tests consistent against that alternative then have power tending to one, and there is nothing left to compare. That is why local alternatives, at distance one over root n, are the right scale: the regular LAN scale at which nontrivial local power can be compared. Nonregular models can have different rates, and tests can be told apart.
Le Cam's third lemma does the real work. Suppose a statistic and the log-likelihood ratio are jointly normal in the limit under the null, with covariance tau. Then under the local alternative the statistic is still normal with the same variance, but its mean has shifted by exactly tau. For a standardized linear statistic, tau is h times the covariance of its psi with the score, over psi's standard deviation. So the local power of the test that rejects for large T is one minus Phi of z alpha minus tau. For asymptotically linear statistics with the stated joint Gaussian limit, this covariance determines the local mean shift. Arbitrary tests need not have such a representation.
Normal data, a hundred observations, a mean of h over root n. For the t test, tau is h itself: the blue curve. For the sign test, the covariance of the sign with the score is the root of two over pi, about point eight: the red curve. The dots are simulated powers, and they are close to the third lemma's asymptotic curves. The finite-sample t test uses its exact t quantile; the sign test randomizes at its binomial boundary for exact five percent null size. The plotted sign dots average its conditional rejection probability. The sign test at h has the power the t test has at point eight h: it needs one over two over pi, about fifty-seven percent more data, for the same power.
The third lemma settles Part twenty-two's trinity of tests. The Wald, score and likelihood ratio statistics are all asymptotically chi-square under the null. Under local alternatives, all three converge to the same noncentral chi-square, with noncentrality the information-weighted squared component of the local shift normal to the null. For a point null without nuisance directions this is h transposed I h; with nuisance parameters it uses efficient information or the corresponding projection. So they are equivalent to first order, and differ only at second order, or when the model is misspecified. Which is why, in practice, their disagreement is a warning sign about the sample size or the model.
Numbers: n = 100, h = 2: exact-level t 0.63, randomized sign 0.48, on the third lemma's curves
9The convolution and LAM theoremsPhD4 min
Hájek's convolution and local asymptotic minimax theorems: in what sense the MLE is best.
Hájek's first theorem, of 1970, is about regular estimators: those whose limiting error distribution, at the scale one over root n, is the same under every local alternative. In a nonsingular regular LAN model, for an estimator regular under every fixed local shift, the limit law is the normal with the inverse information, convolved with some other law M: the best possible normal plus independent extra noise. When the convolution limit has finite covariance, its covariance is at least the inverse information, and by Anderson's lemma it puts no more probability than that normal into any symmetric convex set. A suitably consistent, asymptotically efficient regular MLE has M a point mass at zero: nothing added. It is efficient among regular estimators, with no unbiasedness required.
Hodges's estimator at zero fails this test. Under the local alternative h over root n, the sample mean is within n to the minus one quarter of zero with probability tending to one, so the estimator reports zero, and its scaled error is exactly minus h. The limit is a point mass at minus h: a different law for every h. It is not regular, so the convolution theorem does not apply. Superefficiency lives in exactly this loophole.
The second theorem, of 1972, drops regularity of the estimator, while retaining the regular LAN model and appropriate measurability and loss assumptions. For any estimator whatever, take its worst risk over a neighbourhood of size c over root n around theta, let n grow and then c: the result is at least the risk of the normal with the inverse information. For a nonnegative lower-semicontinuous bowl-shaped loss, the lower bound follows first for bounded truncations and then by a limit. Squared error is an example. An efficient regular estimator attains the Gaussian bound when its local risks also converge uniformly as required. For unbounded squared loss that needs moment control; a distributional normal limit alone does not prove risk convergence. It is locally asymptotically minimax: the sense in which it is best. Hodges can win at a point and even over a fixed small local radius. It cannot improve the bound when n grows first and the local radius then grows without bound.
The risk-bump explorer shows both theorems at once. Here is Hodges's scaled risk as a function of the local parameter, for a hundred up to a hundred million observations. The MLE's is one, everywhere. As n grows, Hodges's local risk converges to h squared, the squared error of always saying zero, which is below one only for h between minus one and one. So the worst risk over any neighbourhood of radius c tends to c squared: below one for small c, unbounded for large c. In the limit of large neighbourhoods, it loses.
In numbers: the worst scaled risk of Hodges's estimator over neighbourhoods of radius one, two, four and eight. For large n the entries approach one, four, sixteen and sixty-four: c squared. The MLE's worst risk is one in every neighbourhood. The local asymptotic minimax lower bound is one after taking the large-sample lower limit and then allowing c to grow; it is not a universal lower bound for every fixed small c.
Le Cam proved in 1953 that superefficiency can only happen on a set of parameter values of Lebesgue measure zero. Hájek's theorems add that even there it is paid for in worst-case risk nearby. The lesson is not academic. Thresholding and lasso-type estimators, Part thirty-two's sparse methods, with sufficiently aggressive threshold tuning can be superefficient at zero: excellent when the truth is sparse, and with bumps of risk near the edge of detectability, as Hannes Leeb and Benedikt Pötscher showed. The Bayesian counterpart, the Bernstein–von Mises theorem, is Part fifty-three.
Numbers: Hodges's sup over |h| ≤ 1, 2, 4, 8 → 1, 4, 16, 64
10Efficiency of testsPractice3 min
The efficiency of tests: how many more observations does the worse test need? Edwin Pitman's efficiency compares two tests by the ratio of sample sizes they need for the same power against the same local alternatives. Each test statistic has an efficacy: the rate at which its mean moves with theta, divided by its spread. The relative efficiency is the squared ratio of efficacies, which are chapter eight's shifts tau per unit h. For the sign test against the t test at the normal, two over pi: point six four. That number, and Wilcoxon's point nine five five, are Pitman efficiencies.
The classic table. The sign test loses efficiency at the normal, but has twice the local efficiency at the Laplace. Its often quoted one-third lower bound needs symmetric unimodal densities; over arbitrary symmetric bimodal densities, central density can vanish and sign efficiency can approach zero. Wilcoxon's test is never below point eight six four and beats t for every heavy-tailed law shown. And under the continuous finite-variance regularity conditions of Chernoff–Savage, the normal-scores ARE is at least one: a rank test that costs nothing at the normal and gains elsewhere.
Pitman efficiencies approximate sample-size ratios in the local large-sample regime; they are not exact finite-sample power calculations. Suppose a t test with a hundred observations has eighty percent power against a small shift. The sign test needs about a hundred and fifty-seven for the same power, if the data are normal. Wilcoxon's test needs about a hundred and five. But if the errors are Laplace, Wilcoxon needs only sixty-seven and the sign test fifty. In a clinical trial, these are patients.
Raghu Raj Bahadur's alternative fixes the alternative and asks how fast the p-value goes to zero: minus two over n times its log converges to the exact slope. For the z test the slope is theta squared. For the sign test it is twice a Kullback–Leibler divergence between coins, from Part forty-three's large deviations. The ratio of slopes is the Bahadur efficiency, and as the alternative approaches the null it usually tends to the Pitman efficiency.
For normal data, the sign test against the z test. The ratio of exact slopes, as the alternative moves away from zero. At small theta it approaches Pitman's two over pi, in green. For distant alternatives it falls further: the sign test's p-values shrink more slowly than the z test's when the evidence is overwhelming, because a sign can only say plus or minus.
Which efficiency should one use? Pitman's describes hard problems, with alternatives near the null, which is what matters when designing a study to detect a small effect. Bahadur's describes easy problems, and how decisively a test rejects. A third, Hodges and Lehmann's, fixes the alternative and compares how fast the type two error goes to zero. They can disagree, and the right one is the one that matches the scientific question.
Numbers: sign/t: 0.637 (normal), 2 (Laplace); Wilcoxon ≥ 0.864; normal scores ≥ 1
11The bootstrap, rigorouslyPractice4 min
The bootstrap, rigorously: why resampling can beat the normal approximation. Why does the bootstrap work at all? Conditionally on the data, the resampled empirical distribution fluctuates around the empirical distribution exactly as the empirical distribution fluctuates around the truth: the same Brownian bridge in the limit. For a continuous linear Hadamard derivative tangential to the bootstrap empirical-process limit space, chapter four's delta method applies in both worlds, and the bootstrap distribution of the statistic has the same limit as its true sampling distribution. That is consistency, proved by Evarist Giné and Joel Zinn and set out in van der Vaart and Wellner's book. That sufficient argument does not cover every functional. The endpoint maximum fails at its n rate; infinite-variance means and dependence destroyed by ordinary iid resampling need different methods. Some nonsmooth-looking statistics, such as regular quantiles, still have valid bootstrap limits.
The deeper reason is the Edgeworth expansion of Part forty-three. For the studentized mean under suitable moment, smoothness, and Cramér nonlattice conditions, its CDF has the normal term plus skewness times two z squared plus one, times the normal density, divided by six root n, plus smaller terms. The bootstrap distribution has the same expansion with the sample skewness in place of the true one, and that estimate is itself off by order one over root n. So the bootstrap captures the first correction automatically, and its error is of order one over n, while the normal approximation's is one over root n. An asymptotic pivot is one ingredient, not the whole theorem. Required moments and Edgeworth regularity still matter. A finite resample count adds Monte Carlo error, so keeping B equal to 999 fixed does not by itself establish an asymptotic one-over-n rate: this is an illustration of Hall's analysis, not a full proof.
The theory, for the coverage error of a one-sided interval: the normal-theory interval and the percentile bootstrap are wrong by order one over root n; the bootstrap-t, which resamples the studentized statistic, by order one over n; and so is Efron's BCa interval, which corrects the percentile interval for bias and skewness. In suitable balanced two-sided constructions, leading tail errors can cancel in total coverage. This is not automatic for every interval, and good total coverage need not mean that each tail is calibrated.
Simulated, for the mean of exponential data, the textbook skewed case: two-sided ninety percent intervals at ten, twenty, forty and eighty observations. The Student t interval covers eighty-seven percent at ten; the percentile and basic bootstraps do worse, eighty-three and eighty-one; BCa eighty-three. The bootstrap-t is at ninety-one percent already, and stays close to ninety. All of them approach the nominal level as n grows, the percentile methods slowly.
Look at one tail at a time. This is the chance that the true mean falls below the lower limit, which should be five percent. The Student and percentile intervals miss on this side only one to four percent of the time, while BCa is close to five throughout and the bootstrap-t climbs toward it. The symmetric intervals are placed wrongly for skewed data: too rarely wrong below, and so too often wrong above. The tail-specific errors help diagnose what total coverage conceals. Four finite sample sizes and finite simulation counts cannot establish an asymptotic order.
Numbers: 90% coverage at n = 10: t 86.5%, percentile 82.7%, BCa 83.5%, bootstrap-t 90.9%
12Saddlepoint approximationsPhD3 min
Saddlepoint approximations: accuracy far into the tails. Henry Daniels's idea of 1954. Start from the cumulant generating function, as in Part forty-three's large deviations. Tilt the distribution exponentially, choosing the tilt so that its mean is exactly the value x-bar where we want the density. That tilt solves the saddlepoint equation. Under the tilted law, x-bar is at the centre, where the normal approximation is at its best; untilting gives this formula. Under the needed smooth nonlattice cumulant-generating-function conditions, relative-error expansions hold over specified saddlepoint ranges inside the tilting domain. This can greatly improve tails over a plain normal approximation; it is not a uniform claim over every arbitrarily distant endpoint.
The mean of five exponentials, whose exact density is a gamma: the white curve. The normal approximation is symmetric and puts weight below zero. The one-term Edgeworth correction bends it toward the skewness, but can go negative. The saddlepoint approximation, in green, is the exact density multiplied by a constant, , at every point: Stirling's error in the gamma function. Renormalized to integrate to one, it is exact. With five observations.
Tail probabilities, on a log scale. The exact tail of the mean of five exponentials. The normal approximation's tail falls far too fast: off by a factor of more than two at x equal to two, and by orders of magnitude beyond. The Lugannani–Rice saddlepoint formula lies on top of the exact curve. At x equal to two: exactly , normal , saddlepoint .
The tail formula of Robert Lugannani and Stephen Rice uses two quantities. The first is the signed square root of a likelihood ratio statistic for the tilted family; the second is the tilt times the square root of n times the tilted variance. At the mean the formula has a removable singularity, handled by its continuous limit. The tail probability is the normal tail at the first, corrected by a term involving their reciprocals. With the required cumulant and smoothness conditions, its error can be controlled uniformly over an admissible range of saddlepoints: higher-order asymptotics, built on the same likelihood ratio that chapter eight treated to first order.
Saddlepoints have many uses. With the appropriate lattice or conditional version they can approximate tail probabilities for rank and permutation tests without full enumeration. They approximate bootstrap distributions without resampling, as Anthony Davison and David Hinkley showed. Ole Barndorff-Nielsen's p-star formula gives a refined likelihood approximation, often conditional on an ancillary in the relevant regular model. Its accuracy order depends on that structure, not just on the estimator being an MLE. And in insurance and finance, they are a standard tool for the far tails of sums of claims and losses.
Numbers: mean of 5 Exp: saddlepoint = exact × 1.017; P(X̄ ≥ 2): 0.0293 exact, 0.0127 normal, 0.0293 LR
13Non-regular modelsPhD5 min
Non-regular models: when the support moves, the rate changes. The standard non-regular case: the uniform on zero to theta, estimated by the maximum. The chance that the maximum falls more than t over n below theta is one minus t over n, to the n, which tends to e to the minus t. So n times the shortfall, scaled by theta, is asymptotically exponential: the rate is n, faster than root n, matching Part forty-five's variances of order one over n squared. The local experiments converge to a shifted exponential, not a Gaussian shift, so none of chapter nine's theory applies directly. Multiplying M by n plus one over n gives an unbiased estimator. Under relative squared-error loss, the best scale-equivariant coefficient is n plus two over n plus one. These are different criteria, not an assertion that one estimator is universally best.
Now try the bootstrap. A resample's maximum equals the sample maximum whenever the top observation is drawn at least once, which happens with probability one minus one minus one over n to the n, tending to one minus one over e, . So the conditional bootstrap distribution of n times M minus M star, divided by M, has an atom of mass sixty-three percent at zero, while the true distribution is a continuous exponential. The bootstrap is inconsistent here, as Peter Bickel and David Freedman noted in 1981: the maximum is not a smooth functional of the distribution.
The ordinary bootstrap distribution, from one sample of : a spike at zero holding percent of the mass, and a thin remainder. In green, the m out of n bootstrap: resample only forty points from that same original sample of two thousand. The red and green comparison therefore shares the data rather than confounding resample size with original sample size. The limiting pivot has the white exponential density. The first red histogram bin includes an atom; its height is bin mass divided by width rather than a genuine continuous density. The m out of n version is close to it, with an exact conditional Kolmogorov distance to that limit of ; the ordinary bootstrap is off by .
The repair is to resample fewer points than you have: m of them, with m growing but small compared with n, and rescale by the rate at sample size m. The chance of drawing the top point is then about m over n, which vanishes, and so does the atom. Subsampling, drawing m points without replacement, can be consistent for iid data, or suitably weakly dependent data, with growing subsample size, a vanishing sampling fraction, the correct rate, negligible recentering at that rate, and a continuous limiting CDF. Existence of an arbitrary limit alone is insufficient, as Dimitris Politis and Joseph Romano proved. The price is choosing m, and knowing or estimating the rate.
The maximum is one of a family of non-regular problems. A parameter on the boundary, Part forty-six's Chernoff mixture: Donald Andrews showed in 2000 that a usual bootstrap can be inconsistent at a boundary in his counterexample. Boundary problems do not all invalidate every bootstrap construction. A unit root, Part forty-four's Dickey–Fuller law: an unrestricted fitted autoregressive bootstrap can fail. A valid repair imposes the null unit root and calibrates resampled innovations with the appropriate deterministic terms and dependence assumptions; differencing alone is not a universal solution. Mixture orders, change points, and estimators that converge at the cube root of n, such as the shorth and certain nonsmooth optimization estimators. Kernel mode estimators have bandwidth-dependent rates and need not be cube-root, studied by Jeankyung Kim and David Pollard. The general lesson: before trusting an asymptotic or bootstrap approximation, check that the statistic is smooth at the distribution in question.
Numbers: same n = 2,000 sample: atom 0.627 (exact 0.632); exact conditional KS 0.787 vs 0.122 for m-out-of-n
Recap, problems, and the road aheadAll tracks2 min
Part forty-seven in fourteen lines. Hodges's superefficient estimator and its bump of risk. The stochastic orders, Slutsky and the delta method. M-estimators, their consistency and the sandwich. Bahadur's representation of quantiles. Influence functions and Hadamard derivatives. U-statistics, with Hoeffding's projection and degenerate kernels. Rank tests and their efficiencies. Local asymptotic normality. Contiguity and the third lemma. Hájek's convolution and local asymptotic minimax theorems. Pitman and Bahadur efficiency. The bootstrap's second-order accuracy. Saddlepoints. And non-regular models, with the m out of n bootstrap.
A promise for the next part. This one built the asymptotics of estimators and tests. Twice it took on trust a uniform law of large numbers, for consistency, and a process limit, for the functional delta method and the bootstrap. Part forty-eight proves them: empirical processes, Glivenko–Cantelli and Donsker classes, Vapnik–Chervonenkis dimension and chaining.
Where it comes back. Part forty-eight proves the uniform laws and the Donsker theorems this part used. Part forty-nine finds efficient influence functions in semiparametric models. Part fifty extends lower bounds beyond the local scale. Part fifty-three is the Bayesian version of LAN, the Bernstein–von Mises theorem. And Part fifty-nine asks what survives when the number of parameters grows with n.
Six problems, with full solutions in the README. Hodges's limits; the median as a Z-estimator; the influence function of a quantile; Gini's projection; the sign test's local power; and the bootstrap maximum's atom. Pause here if you want to try them.
The books this part follows: van der Vaart's Asymptotic Statistics, Le Cam and Yang, Lehmann's Elements of Large-Sample Theory, Hall on the bootstrap and Edgeworth expansions, Hájek and Šidák, and Serfling; with the papers from Hoeffding to Leeb and Pötscher.
Forty-seven parts of sixty-five. The local minimax bound takes sample size to infinity before allowing the radius of a shrinking neighborhood to grow, and every regular model there is a single normal observation. Next, Part forty-eight: empirical processes.
Where it goes next. The uniform laws, Donsker classes and bootstrap empirical processes this part used are proved in Part 48; efficient influence functions in semiparametric models come in Part 49, minimax lower bounds beyond the local scale in Part 50, Bernstein-von Mises in Part 53, and growing dimension in Part 59.
Key results
The part's results in one place, for revision.
Try it
Lab 47 · Hodges's bump and local asymptotic normality
Simulate Hodges's estimator (the sample mean, set to zero when it is within n^(-1/4) of zero) at local parameters theta = h / sqrt(n), compare its scaled risk with the exact formula and with the sample mean's 1, and check that Cauchy log-likelihood ratios at h / sqrt(n) approach N(-h^2 I / 2, h^2 I).
python -m videos.stats.labs 47
needs numpy, scipy, matplotlib · download lab47.py ·
source on GitHubn = 100: scaled risk at h = 0, 0.5, 1 0.019 (0.019) 0.285 (0.285) 1.086 (1.084) simulated (exact)
n = 100: at h = n^(1/4) and 2 n^(1/4) 5.50 (5.50) 1.02 (1.02) the sample mean: 1
n = 10000: scaled risk at h = 0, 0.5, 1 0.000 (0.000) 0.250 (0.250) 1.000 (1.000) simulated (exact)
n = 10000: at h = n^(1/4) and 2 n^(1/4) 50.63 (50.50) 1.00 (1.00) the sample mean: 1
n = 100: peak of the bump 5.6 at h = 3.0 (n^(1/4) = 3.2)
n = 10,000: peak of the bump 68.9 at h = 8.8 (n^(1/4) = 10.0)
n = 1,000,000: peak of the bump 858.2 at h = 29.7 (n^(1/4) = 31.6)
n = 10^8: worst risk over |h| <= 0.5, 1, 2, 4 0.25 1.00 4.00 16.00 (limit c^2; the sample mean: 1)
Cauchy log ratio, n = 25, h = 1.5 mean -0.549 (LAN -0.5625) variance 1.108 (LAN 1.125)
Cauchy log ratio, n = 400, h = 1.5 mean -0.557 (LAN -0.5625) variance 1.126 (LAN 1.125)
Hodges's estimator beats the bound at zero and pays beside it: its local risk tends to h squared, so its worst case over a wide neighbourhood is unbounded, while the Cauchy model already looks like one normal observation with variance 1 / I.
The code (77 lines; it asserts its own result)
"""Lab 47: compute Hodges's risk bump, simulate it, and watch a Cauchy likelihood ratio become a Gaussian shift."""
import numpy as np
from scipy import stats
from videos.coursekit import labs
from explainer.stats.kit import asymptotics
TITLE = "Hodges's bump and local asymptotic normality"
GOAL = ("Simulate Hodges's estimator (the sample mean, set to zero when it is within n^(-1/4) of zero) at local "
"parameters theta = h / sqrt(n), compare its scaled risk with the exact formula and with the sample mean's 1, "
"and check that Cauchy log-likelihood ratios at h / sqrt(n) approach N(-h^2 I / 2, h^2 I).")
TASKS = [
"Change the threshold exponent from 1/4 to 0.4 (power=0.4). Where does the peak move, and how fast does it grow with n?",
"Replace the hard threshold by soft thresholding at n**-0.25 and simulate its local risk. Is the bump smaller?",
"Repeat the LAN check for the Laplace location family (information 1). Does the variance of the log ratio approach h**2?",
]
def run(seed=0):
rng = np.random.default_rng(seed)
lab = labs.Lab()
# 1. Hodges: n E(T - theta)^2 at theta = h / sqrt(n), simulated against the exact formula.
reps = 400_000
sims = {}
for n in (100, 10_000):
hs = np.array([0.0, 0.5, 1.0, n ** 0.25, 2 * n ** 0.25])
mc = []
for h in hs:
theta = h / np.sqrt(n)
xbar = theta + rng.standard_normal(reps) / np.sqrt(n)
T = np.where(np.abs(xbar) >= n ** -0.25, xbar, 0.0)
mc.append(n * np.mean((T - theta) ** 2))
exact = asymptotics.hodges_local(hs, n)
sims[n] = (hs, np.array(mc), exact)
lab.row(f"n = {n}: scaled risk at h = 0, 0.5, 1", " ".join(f"{m:.3f} ({e:.3f})" for m, e in zip(mc[:3], exact[:3])) + " simulated (exact)")
lab.row(f"n = {n}: at h = n^(1/4) and 2 n^(1/4)", " ".join(f"{m:.2f} ({e:.2f})" for m, e in zip(mc[3:], exact[3:])) + " the sample mean: 1")
assert np.allclose(mc, exact, rtol=0.03, atol=0.01), "simulation agrees with the exact risk"
grid = np.linspace(0, 60, 6001)
peaks = {n: asymptotics.hodges_local(grid, n) for n in (100, 10_000, 1_000_000)}
pk = {n: (grid[r.argmax()], r.max()) for n, r in peaks.items()}
for n, (h, r) in pk.items():
lab.row(f"n = {n:,}: peak of the bump", f"{r:.1f} at h = {h:.1f} (n^(1/4) = {n ** 0.25:.1f})")
worst = [asymptotics.hodges_local(np.linspace(-c, c, 2001), 10 ** 8).max() for c in (0.5, 1, 2, 4)]
lab.row("n = 10^8: worst risk over |h| <= 0.5, 1, 2, 4", " ".join(f"{w:.2f}" for w in worst) + " (limit c^2; the sample mean: 1)")
assert asymptotics.hodges_local(0.0, 10_000) < 0.01, "superefficient at zero"
assert 8 < pk[10_000][1] / pk[100][1] < 16 and 8 < pk[1_000_000][1] / pk[10_000][1] < 16, "the peak grows like sqrt(n)"
assert np.allclose(worst, [0.25, 1, 4, 16], rtol=0.02), "the local risk tends to h^2: below 1 only for |h| < 1"
# 2. LAN: the Cauchy location family, information 1/2.
h = 1.5
rows = {n: asymptotics.cauchy_local_llr(n, h, 40_000, rng) for n in (25, 400)}
for n, r in rows.items():
lab.row(f"Cauchy log ratio, n = {n}, h = {h}", f"mean {r['mean']:.3f} (LAN {r['lan_mean']:.4f}) variance {r['var']:.3f} (LAN {r['lan_var']:.3f})")
r = rows[400]
assert abs(r["mean"] - r["lan_mean"]) < 0.03 and abs(r["var"] - r["lan_var"]) < 0.06, "LAN's Gaussian shift"
lab.note = ("Hodges's estimator beats the bound at zero and pays beside it: its local risk tends to h squared, so its "
"worst case over a wide neighbourhood is unbounded, while the Cauchy model already looks like one normal "
"observation with variance 1 / I.")
fig, ax = labs.figure(2, size=(11, 4.3))
for (n, rr), color in zip(peaks.items(), (labs.BLUE, labs.GOLD, labs.RED)):
ax[0].semilogy(grid, rr, color=color, label=f"n = {n:,}")
for n, color in ((100, labs.BLUE), (10_000, labs.GOLD)):
ax[0].scatter(sims[n][0], sims[n][1], color=color, s=26, zorder=3, edgecolor=labs.INK, linewidth=0.5)
ax[0].axhline(1, color=labs.MUTED, ls="--", label="the sample mean")
ax[0].set(title="Hodges's scaled risk at theta = h / sqrt(n) (dots: simulated)", xlabel="local parameter h",
ylabel="n x mean squared error", ylim=(1e-3, 3e3))
ax[0].legend(loc="lower right")
x = np.linspace(-4.5, 3.5, 300)
ax[1].hist(r["llr"], bins=80, range=(-4.5, 3.5), density=True, color=labs.BLUE, alpha=0.6, label="40,000 log ratios, n = 400")
ax[1].plot(x, stats.norm.pdf(x, r["lan_mean"], np.sqrt(r["lan_var"])), color=labs.GOLD, label="LAN: N(-h²I/2, h²I)")
ax[1].set(title="Cauchy location: log likelihood ratio at h = 1.5", xlabel="log likelihood ratio", ylabel="density")
ax[1].legend(loc="upper left")
lab.fig = fig
return lab
Now change it
- Change the threshold exponent from 1/4 to 0.4 (power=0.4). Where does the peak move, and how fast does it grow with n?
- Replace the hard threshold by soft thresholding at n**-0.25 and simulate its local risk. Is the bump smaller?
- Repeat the LAN check for the Laplace location family (information 1). Does the variance of the log ratio approach h**2?
Problems, with solutions
Try each problem before opening its solution.
-
Hodges's limits. Show that Hodges's estimator satisfies \(n\,E_0 T_n^2 \to 0\), and \(n\,E_{\theta}(T_n - \theta)^2 \to 1\) for fixed \(\theta \ne 0\).
Solution
- At θ = 0, Z = √n x̄ ~ N(0, 1), and T_n = 0 unless |Z| ≥ n^{1/4}. So n E T_n² = E[Z² 1{|Z| ≥ n^{1/4}}] → 0, faster than any power of n.
- At θ ≠ 0, P(|x̄| < n^{−1/4}) ≤ P(|Z| > √n|θ| − n^{1/4}) → 0 exponentially fast, so T_n = x̄ except on a vanishing event.
- Hence n E(T_n − θ)² → E Z² = 1 (the contribution of the event is at most nθ² times an exponentially small probability).
-
The median as a Z-estimator. For \(\psi(x, \theta) = \mathrm{sign}(x - \theta)\), compute the sandwich \(V^{-1}BV^{-1}\) and recover the median's variance.
Solution
- ψ(x, θ) = sign(x − θ). Then B = E ψ² = 1, and V = d/dθ E sign(X − θ) = d/dθ [1 − 2F(θ)] = −2f(θ).
- So V⁻¹BV⁻¹ = 1/(4f(θ)²), the median's variance p(1 − p)/f² at p = ½.
-
The influence function of a quantile. Find the influence function of \(T(F) = F^{-1}(p)\), and check that \(E\,\mathrm{IF}^2 = p(1-p)/f(\xi_p)^2\).
Solution
- Differentiate F_t(ξ_t) = p with F_t = (1 − t)F + tδ_x: −F(ξ) + 1{x ≤ ξ} + f(ξ) ξ̇ = 0 at t = 0.
- So IF(x) = (p − 1{x ≤ ξ_p})/f(ξ_p), which has mean 0 and E IF² = p(1 − p)/f(ξ_p)².
-
Gini's projection. For Gini's kernel \(|x - y|\) with \(N(0, 1)\) data, show that \(h_1(x)=2\phi(x)+x(2\Phi(x)-1)-2/\sqrt\pi\).
Solution
- E|x − Y| = ∫(x − y)φ(y)dy over y < x plus ∫(y − x)φ(y)dy over y > x, which equals x(2Φ(x) − 1) + 2φ(x), using ∫_{y>x} yφ(y) dy = φ(x).
- Subtracting θ = 2/√π gives h₁.
-
The sign test's local power. Use Le Cam's third lemma to find the local power of the sign test, and its Pitman ARE \(2/\pi\) against \(t\).
Solution
- T_n = (2/√n) Σ (1{X_i > 0} − ½) is asymptotically N(0, 1) under H₀.
- Its covariance with Λ_n = h Σ X_i/√n − h²/2 is τ = 2h E[X 1{X > 0}] = 2h φ(0) = h√(2/π).
- By the third lemma the local power is 1 − Φ(z_α − h√(2/π)). The t test has τ = h, so the Pitman ARE is (√(2/π))² = 2/π.
-
The bootstrap maximum's atom. Show that \(P^*(M^* = M) = 1 - (1 - 1/n)^n\) for the bootstrap of a sample maximum.
Solution
- M* = M exactly when the largest observation appears at least once among n draws with replacement.
- So P*(M* = M) = 1 − (1 − 1/n)ⁿ, which tends to 1 − e⁻¹.
Notes and sources
Where it comes back
- Part 48: the uniform laws, Donsker classes and bootstrap empirical processes this part used.
- Part 49: efficient influence functions in semiparametric models.
- Part 50: minimax lower bounds beyond the local scale (Le Cam, Assouad, Fano).
- Part 53: Bernstein–von Mises, the Bayesian counterpart of LAN.
- Part 59: what survives when p grows with n.
Glossary
- The toolkit.
- o_P, O_P; tightness; Slutsky's lemma; continuous mapping; delta method; Cramér–Wold: the bookkeeping.
- M-estimator; Z-estimator; uniform law of large numbers; well-separated maximum; sandwich covariance; misspecification: estimators as optimizers.
- Linearizations.
- Bahadur representation; order-statistic interval: quantiles.
- Statistical functional; von Mises expansion; influence function; gross-error sensitivity; Hadamard differentiability; functional delta method; infinitesimal jackknife: differentiating statistics.
- U-statistic; kernel; Hoeffding decomposition; degenerate kernel; Hájek projection: averages over pairs.
- Signed-rank statistic; score function; normal scores; Hodges–Lehmann estimator: ranks.
- Le Cam theory.
- Local parameter; LAN; Gaussian shift experiment; differentiability in quadratic mean: local structure.
- Contiguity; Le Cam's first and third lemmas; local power; trinity: alternatives.
- Regular estimator; convolution theorem; Anderson's lemma; local asymptotic minimax; superefficiency: optimality.
- Pitman efficiency; efficacy; Bahadur slope; Hodges–Lehmann efficiency: comparing tests.
- Refinements and failures.
- Bootstrap consistency; Edgeworth expansion; pivot; second-order accuracy; bootstrap-t; BCa: the bootstrap.
- Cumulant generating function; exponential tilting; saddlepoint; Lugannani–Rice; p* formula: saddlepoints.
- Non-regular model; rate n; m-out-of-n bootstrap; subsampling; cube-root asymptotics: when regularity fails.
Sources
- Superefficiency and the convolution theorem.
- J. Hodges (1951, unpublished; reported in Le Cam 1953); L. Le Cam, Univ. Calif. Publ. Stat. 1 (1953).
- L. Le Cam, Univ. Calif. Publ. Stat. 3 (1960); J. Hájek, Z. Wahrsch. 14 (1970); Proc. Sixth Berkeley Symp. 1 (1972).
- H. Leeb & B. Pötscher, Econometric Theory 21 (2005).
- M-estimators, quantiles and influence.
- A. Wald, Ann. Math. Stat. 20 (1949); P. Huber, Ann. Math. Stat. 35 (1964); Proc. Fifth Berkeley Symp. 1 (1967); H. White, Econometrica 50 (1982).
- R. Bahadur, Ann. Math. Stat. 37 (1966); J. Kiefer, Ann. Math. Stat. 38 (1967).
- R. von Mises, Ann. Math. Stat. 18 (1947); F. Hampel, JASA 69 (1974).
- U-statistics and ranks.
- W. Hoeffding, Ann. Math. Stat. 19 (1948); J. Hájek, Ann. Math. Stat. 39 (1968).
- F. Wilcoxon, Biometrics Bull. 1 (1945); J. Hodges & E. Lehmann, Ann. Math. Stat. 27 (1956), 34 (1963).
- H. Chernoff & I. R. Savage, Ann. Math. Stat. 29 (1958); J. Hájek & Z. Šidák, Theory of Rank Tests (1967).
- Efficiency of tests.
- E. Pitman, lecture notes (1948); R. Bahadur, Sankhyā 22 (1960); E. Lehmann, Nonparametrics (1975).
- The bootstrap.
- P. Bickel & D. Freedman, Ann. Stat. 9 (1981); E. Giné & J. Zinn, Ann. Probab. 18 (1990).
- P. Hall, The Bootstrap and Edgeworth Expansion (1992); D. Politis & J. Romano, Ann. Stat. 22 (1994).
- P. Bickel, F. Götze & W. van Zwet, Stat. Sinica 7 (1997); D. Andrews, Econometrica 68 (2000).
- Saddlepoints.
- H. Daniels, Ann. Math. Stat. 25 (1954); R. Lugannani & S. Rice, Adv. Appl. Probab. 12 (1980).
- A. Davison & D. Hinkley, Biometrika 75 (1988); O. Barndorff-Nielsen, Biometrika 70 (1983).
- Non-regular rates. J. Kim & D. Pollard, Ann. Stat. 18 (1990).
- Books.
- A. van der Vaart, Asymptotic Statistics (1998); L. Le Cam & G. Yang, Asymptotics in Statistics (2nd ed. 2000).
- E. Lehmann, Elements of Large-Sample Theory (1999); R. Serfling, Approximation Theorems of Mathematical Statistics (1980).
About this partfrom its README
Part 47 of a sixty-five-part course in statistics, from a first course to a PhD (see the series plan and the syllabus), and the fifth part of Stage IV, the PhD core.
It opens with Hodges's estimator of 1951: report x̄ unless |x̄| < n^{−1/4}, then 0. At θ = 0 its scaled risk goes to zero, beating the "information bound", but just beside zero it has a bump of risk that grows like √n. The part asks in what sense the MLE is best, and answers with Le Cam's and Hájek's theory. On the way it builds the toolkit of large-sample statistics:
- stochastic orders and the delta method;
- M-estimators and quantiles;
- influence functions and Hadamard derivatives;
- U-statistics and rank statistics.
It then uses the theory on four further subjects:
- the efficiency of tests;
- the bootstrap's second-order accuracy;
- saddlepoints;
- non-regular models.
It keeps three promises:
- Part 22 stated that the MLE is asymptotically N(θ, I⁻¹/n). Chapters 1–2 prove it for M-estimators, with the sandwich under misspecification.
- Part 45 proved Cramér–Rao for unbiased estimators and warned about Hodges. Chapters 7–9 give LAN, contiguity, and the convolution theorem for regular estimators, and the LAM lower bound for arbitrary estimators in a regular LAN model.
- Part 16 used the bootstrap on a first-order argument. Chapter 11 outlines sufficient consistency conditions and second-order refinements, with moment, smoothness, nonlattice and resampling requirements.
Built in this part:
statkit.asymptotics(explainer/stats/kit/asymptotics.py), tested intests/test_stats_kit_asymptotics.py:- Hodges's exact scaled risk, over θ and over local h;
- the Bahadur remainder;
- U-statistics and Gini's mean difference with its Hoeffding decomposition;
- Cauchy local log-likelihood ratios against LAN;
- Pitman AREs and local power from the third lemma;
- Daniels's saddlepoint density and Lugannani–Rice tails;
- the uniform maximum's bootstrap and its m-out-of-n repair.
- The risk-bump explorer (
RiskBumpinexplainer/stats/viz.py), the part's instrument: scaled risk against θ or the local parameter h, with the information bound drawn in and the peak of the bump marked.
Data.
- From the Museum: Newcomb's passage times of light.
- The rest is exact arithmetic or seeded simulation.
The Coverage Board gains six rows, all nominal 90%. Every row uses 2,000 independent original datasets, 999 resamples per dataset, and an empirical Monte Carlo SE. A “kept” verdict is within three MC SEs of nominal, not proof of finite-sample validity:
| Method | Setting | Achieved | Verdict |
|---|---|---|---|
| Student t interval for a mean | Exp(1) data, n = 20 | 87.4% | broken |
| percentile bootstrap for a mean | Exp(1) data, n = 20 | 84.6% | broken |
| bootstrap-t for a mean | Exp(1) data, n = 20 | 88.7% | kept |
| BCa for a mean | Exp(1) data, n = 20 | 84.2% | broken |
| basic shortfall-pivot bootstrap for a uniform maximum | U(0, θ), n = 200 | 80.1% | broken |
| m-out-of-n bootstrap (m = 40) | U(0, θ), n = 200 | 90.8% | kept |
Chapter notes
| # | Chapter | Numbers |
|---|---|---|
| 0 | Hodges's estimator | n·MSE at 0: 0.17 (n = 25), 0.019 (n = 100); local peaks 5.6, 69, 858 at h ≈ n^{1/4} |
| 1 | Stochastic orders and the toolkit | √n log x̄ (Exp): skewness −0.45 (n = 5) → −0.06 (n = 200); n x̄² quantiles vs χ²₁ |
| 2 | M- and Z-estimators | Huber n·Var: sandwich 1.053 vs 1.065; contaminated 1.374 vs 1.378 (mean 3.37); Newcomb 27.38 (SE 0.64) vs 26.21 (1.32) |
| 3 | Quantiles | SD 1.24 vs √(π/2) = 1.253; remainder RMS 0.57 → 0.18 (n = 50 → 5,000) |
| 4 | Influence functions | n·Var(s²): 2.04 vs 2 (normal), 7.75 vs 8 (t₅) |
| 5 | U-statistics | Gini Var: exact 0.074, first order 0.065, simulated 0.073 (n = 10); degenerate n U: mean −0.004, var 2.04 |
| 6 | Rank statistics | power at h = 2: normal 0.62 / 0.61, Laplace 0.63 / 0.73, t₃ 0.71 / 0.83 (t / Wilcoxon) |
| 7 | LAN | Cauchy, h = 1.5: mean −0.562 vs −0.5625, var 1.14 vs 1.125 |
| 8 | Contiguity | n = 100, h = 2: exact-level t 0.63, randomized sign 0.48, on the third lemma's curves |
| 9 | Convolution and LAM | Hodges's sup over |h| ≤ 1, 2, 4, 8 → 1, 4, 16, 64 |
| 10 | Efficiency of tests | sign/t: 0.637 (normal), 2 (Laplace); Wilcoxon ≥ 0.864; normal scores ≥ 1 |
| 11 | The bootstrap | 90% coverage at n = 10: t 86.5%, percentile 82.7%, BCa 83.5%, bootstrap-t 90.9% |
| 12 | Saddlepoints | mean of 5 Exp: saddlepoint = exact × 1.017; P(X̄ ≥ 2): 0.0293 exact, 0.0127 normal, 0.0293 LR |
| 13 | Non-regular models | same n = 2,000 sample: atom 0.627 (exact 0.632); exact conditional KS 0.787 vs 0.122 for m-out-of-n |
| 14 | Outro | — |
The rest of the part's numbers, chapter by chapter:
- Hook.
- Exact n·MSE(θ) for n = 25, 100, 1000, 10⁴ over θ ∈ [−0.6, 0.6].
- Local peaks: 5.58 at h = 2.98 (n = 10²), 68.9 at h = 8.8 (n = 10⁴), 858 at h = 29.7 (n = 10⁶). Each sits near n^{1/4}, and the peak grows like √n.
- Chapter 1.
-
o_P, O_P, tightness and Prokhorov; Slutsky; continuous mapping.
-
The first-order delta method follows from differentiability and root-n tightness; the second-order example needs a twice differentiable map. Studentization assumes iid data with finite strictly positive variance, which does not guarantee rapid convergence. For √n log x̄ with Exp(1) data:
n Mean SD Skewness KS 5 −0.23 1.05 −0.45 0.064 20 −0.12 1.01 −0.24 0.034 200 −0.04 1.01 −0.06 0.014 -
Cramér–Wold and the multivariate delta method; the correlation's variance (1 − ρ²)²/n.
-
The second-order case: 50 x̄² has quantiles 0.46 / 2.73 / 3.88 against χ²₁'s 0.45 / 2.71 / 3.84.
-
- Chapter 2.
- Consistency from a uniform LLN and a well-separated maximum (Wald 1949). Asymptotic normality with the sandwich V⁻¹BV⁻ᵀ.
- Huber (k = 1.345, n = 50), n·Var:
- normal errors: sandwich 1.053 vs simulated 1.065, mean 1.012;
- 0.9 N(0, 1) + 0.1 N(0, 25): 1.374 vs 1.378, mean 3.37.
- Newcomb (n = 66, minimum −44): mean 26.21 (SE 1.32), Huber 27.38 (sandwich SE 0.64), median 27. The Huber/MAD SE is an asymptotic calculation for a symmetric iid location model; it is not distribution-free. Without symmetry, joint location-scale uncertainty can need an additional term, and Huber location and the mean can target different functionals.
- Misspecification: Huber (1967), White (1982), under identification, uniform convergence and local differentiability. Vector estimating equations use an integrated Jacobian; nonsmooth quantile scores need stochastic equicontinuity rather than a literal derivative of the sample signs.
- Chapter 3.
- √n(ξ̂ − ξ) ⇒ N(0, p(1 − p)/f²).
- Bahadur (1966), with local smoothness near a positive continuous density. The displayed almost-sure logarithmic bound is not identified as the sharpest pointwise Kiefer constant; the fixed-quantile probabilistic remainder rate is a separate result.
- Remainder RMS by n = 50, 200, 1000, 5000: 0.572, 0.418, 0.275, 0.182. Times n^{1/4}: 1.52, 1.57, 1.55, 1.53.
- The order-statistic interval: [X₍₆₎, X₍₁₅₎] for the median at n = 20 covers 0.959, for any continuous F.
- Chapter 4.
- The von Mises expansion; IFs of the mean, median, Huber and 10% trimmed means.
- A continuous linear tangential Hadamard derivative transfers the empirical-process limit. Moment functionals need moment control or weighted topologies. Null KS/supremum maps are generally only directionally differentiable and do not automatically inherit ordinary bootstrap consistency.
- The variance functional has limiting scaled variance μ₄−σ⁴. For unbiased s², the exact finite-n expression is μ₄−((n−3)/(n−1))σ⁴: at n=40 it is 2.0513 (normal) and 8.0513 (unit-variance t₅). The t₅ Monte Carlo variance estimate is noisy because eighth moments do not exist.
- The infinitesimal jackknife.
- Chapter 5.
- Gini's mean difference: θ = 2/√π, ζ₁ = 0.1628, ζ₂ = 0.7268.
- Var U at n = 10, 20, 50: exact 0.0740, 0.0347, 0.0133; first-order 0.0651, 0.0326, 0.0130; simulated 0.0728, 0.0353, 0.0136.
- Degenerate h = xy: n U ⇒ χ²₁ − 1.
- Hájek's projection (1968): variance capture transfers a CLT only if the projection summands themselves satisfy one, for example by Lindeberg. Degenerate limits use a centered square-integrable Hilbert–Schmidt kernel; h=xy gives χ²₁−1 for EX=0, Var X=1.
- Chapter 6.
-
The signed-rank statistic has exact centered projection Σ[1{Xᵢ>0}−1/2+(n−1)(F(Xᵢ)−1/2)] under a continuous symmetric null CDF F. The Walsh identity W=Σᵢ≤ⱼ1{Xᵢ+Xⱼ>0} proves it. Projection variance is n(n²+n+1)/12, versus n(n+1)(2n+1)/24 for W, with ratio tending to one. The previous magnitude-rank expression was not this projection.
-
Power at n = 30, h = 0…3, normal / Laplace / t₃, as t and Wilcoxon:
Errors Test h = 0 h = 1 h = 2 h = 3 normal t 0.052 0.248 0.625 0.898 normal Wilcoxon 0.051 0.240 0.613 0.885 Laplace t 0.052 0.271 0.635 0.889 Laplace Wilcoxon 0.052 0.334 0.729 0.941 t₃ t 0.049 0.324 0.712 0.913 t₃ Wilcoxon 0.053 0.387 0.832 0.983 -
ARE 0.955 / 1.5 / 1.90, with a minimum of 108/125 under regular symmetric finite-variance location assumptions. A local alternative shifts the asymptotic normal mean.
-
Hodges–Lehmann: breakdown 29%.
-
Chernoff–Savage normal scores.
-
- Chapter 7.
- LAN (Le Cam 1960): likelihood ratios give weak experiment convergence on finite local parameter sets. Uniform compact-set claims need uniform LAN/tightness; decision transfer requires suitable loss conditions. This is not global equivalence for every h and every decision.
- Cauchy, h = 1.5 (I = ½):
- n = 25: mean −0.555, var 1.090;
- n = 400: mean −0.562, var 1.140;
- the limit: N(−0.5625, 1.125).
- The scalar one-sided score test attains the local Gaussian power bound. Multivariate χ² optimality is within a specified invariant Gaussian problem. QMD gives iid LAN; inverse-information Gaussian shifts require positive definite information. The uniform endpoint fails QMD because its squared Hellinger change is order |h|, not simply because its support moves.
- Chapter 8.
- Contiguity; Le Cam's first and third lemmas; fixed alternatives are singular.
- At n=100, exact-t-calibrated powers for h=0,0.5,…,4 are 0.049, 0.125, 0.257, 0.433, 0.632, 0.802, 0.907, 0.964, 0.990. The randomized sign rule gives 0.050, 0.106, 0.197, 0.327, 0.479, 0.633, 0.766, 0.866, 0.933. Sign dots average conditional rejection probabilities; curves are asymptotic rather than exact finite-sample power.
- The Wald–score–LR trinity under regular correct specification: nuisance directions require efficient information/projection of h, not the full unrestricted hᵀIh.
- Chapter 9.
-
Regular estimators and the convolution theorem (Hájek 1970); Anderson's lemma.
-
Hodges is not regular: the limit is δ₋ₕ.
-
The LAM theorem (Hájek 1972) first takes the large-n lower limit, then lets local radius c tend to infinity. Estimator regularity is unnecessary, but the LAN model and nonnegative lower-semicontinuous bowl-shaped loss conditions remain. Squared-risk attainment also needs uniform local moment/risk control; a normal distributional limit is insufficient. Hodges beats risk one at fixed c<1, so no universal fixed-c bound is claimed.
-
Hodges's worst local risk over |h| ≤ 1, 2, 4, 8:
n |h| ≤ 1 |h| ≤ 2 |h| ≤ 4 |h| ≤ 8 10² 1.08 3.87 5.58 5.58 10⁴ 1.00 4.00 16.0 62.7 10⁶ and 10⁸ 1 4 16 64 -
Le Cam's measure-zero theorem (1953) under its regular-model conditions; Leeb & Pötscher (2005). Superefficiency of thresholding/lasso-type rules requires suitable tuning, not every lasso.
-
- Chapter 10.
- Pitman efficiency as squared efficacies.
- The table of AREs against t:
- sign: 0.637, 0.822, 2.000, 1.62; worst 1/3 within symmetric unimodal densities, while general symmetric bimodal densities can have ARE approaching zero;
- Wilcoxon: 0.955, 1.097, 1.500, 1.90, worst 0.864;
- normal scores: 1.000, 1.047, 1.273, 1.64, worst 1.
- Sample sizes: a t test with n = 100 against 157 (sign) and 105 (Wilcoxon) for normal data, or 50 and 67 for Laplace data.
- Bahadur slopes: θ² for z, 2 KL for sign. The ratio tends to 2/π as θ → 0 and falls below it further out.
- Chapter 11.
-
Bootstrap consistency uses a continuous linear tangential Hadamard derivative and matching conditional empirical-process limit (Giné & Zinn 1990). Point-contamination differentiability alone is insufficient.
-
With sufficient moments and smoothness/Cramér conditions, the studentized CDF has correction γ(2z²+1)φ(z)/(6√n), and estimating it can improve one-sided error from O(n⁻¹/²) to Oₚ(n⁻¹). Finite resample counts add Monte Carlo error: B=999 fixed does not establish a second-order rate. Tail-error cancellation is not automatic for all two-sided intervals.
-
Two-sided 90% coverage for the mean of Exp(1) data:
n Student t Percentile Basic BCa Bootstrap-t 10 86.5% 82.7% 81.3% 83.5% 90.9% 20 88.3% 86.6% 86.0% 86.0% 89.5% 40 88.2% 87.1% 86.0% 87.5% 89.7% 80 89.1% 88.7% 87.5% 90.1% 90.9% -
Lower-tail misses, nominal 5%: Student 1.1–2.9%, BCa 4.4–4.9%.
-
- Chapter 12.
- Daniels (1954) for the mean of 5 Exp(1): the saddlepoint is exactly 1.017 × the gamma density (Stirling).
- Lugannani & Rice (1980). P(X̄ ≥ 2) = 0.0293 exactly; the normal gives 0.0127; Lugannani–Rice gives 0.0293.
- Uniform relative-error statements need smooth nonlattice CGFs and an admissible interior saddlepoint range. Rank/permutation uses need lattice/conditional corrections; p* accuracy requires the relevant regular conditional-likelihood structure. The local Lugannani–Rice mean-point limit is 1/2−1/(3√(2πn)), checked against high-precision arithmetic.
- Chapter 13.
- The uniform maximum: rate n, Exp(1) limit, no LAN.
- The conditional-law comparison shares one original n=2,000 sample between ordinary and m=40 resampling, with 20,000 maxima per method. Its scale-free gap is k(M−M*)/M, and the original-sample hash is recorded.
- Ordinary bootstrap: simulated atom 0.62725, exact conditional atom 0.63221255; m=40: simulated atom 0.01765, exact 0.01980623.
- Exact conditional KS distances, checking both sides of every jump against Exp(1), are 0.78665842 and 0.12213823. These depend on one original dataset. The first histogram bin contains an atom and retains its full mass/width height.
- Resampled maxima use the exact conditional rank CDF (j/n)ᵏ, avoiding a B-by-n index matrix. The separate coverage study uses n=200,m=40,B=999 and 2,000 independent datasets; its basic shortfall-pivot intervals are not percentile intervals.
- m→∞ and m/n→0 are asymptotic requirements. Subsampling also needs correct rates, negligible recentering at the subsample rate and a continuous limiting CDF, under iid or appropriate weak dependence assumptions.
- Boundaries (Andrews 2000), unit roots, cube-root asymptotics (Kim & Pollard 1990).
Companion material in this repository
The syllabus's plan for this partfrom SYLLABUS.md, the plan of record
- Hook: Hodges (1951). The bump at θ = c/√n, computed.
- Stochastic orders and the toolkit.
- M- and Z-estimators (Huber 1964). Consistency via uniform laws and the argmax theorem; asymptotic normality and the sandwich.
- Quantiles. The Bahadur representation (1966).
- Influence functions and the functional delta method (Hampel 1974; Hadamard differentiability).
- U-statistics (Hoeffding 1948). The Hájek projection; degenerate kernels.
- Rank statistics. Hájek's projection; asymptotically efficient rank tests.
- LAN (Le Cam 1960). Log-likelihood ratios converging to Gaussian shifts.
- Contiguity. Le Cam's first and third lemmas; local power.
- Hájek's convolution theorem (1970) and the local asymptotic minimax theorem (1972); the Hodges bump explained.
- Efficiency of tests. Pitman and Bahadur.
- The bootstrap, rigorously. Consistency via Hadamard differentiability; Edgeworth expansions and second-order accuracy of bootstrap-t and BCa (Hall 1992) (Board).
- Saddlepoints (Daniels 1954).
- Non-regular models. The uniform maximum; boundaries; the m-out-of-n bootstrap.
- Outro.
Built: the risk-bump explorer. Books: van der Vaart; Le Cam & Yang; Lehmann Elements of Large-Sample Theory; Hall.
Build the film
python -m videos.stats.stats47.compute # the part's numbers, into .cache/stats47
python tools/build.py stats47 # render and assemble the film
EXPLAINER_TTS=silent python tools/qa_scene.py stats47 Hook # one chapter, silent, with a contact sheet
Scenes: videos/stats/stats47. Setup: see the course page. Source of these notes: the README and the scenes' narration.
Build it
OMP_NUM_THREADS=1 python -m videos.stats.stats47.compute # once (a few minutes)
python tools/build.py stats47 -q l # fast 480p preview
python tools/build.py stats47 # 1080p30 -> renders/stats47.mp4
python tools/qa_scene.py stats47 Hajek
python tools/lecture_length.py stats47 --floor 50