Simple Algorithm
Machine Learning · Convergence · 30 min

Asymptotics of Maximum Likelihood

Consistency, Fisher information and the Cramér–Rao bound.

Why is maximum likelihood the default almost everywhere? Because as the sample grows it homes in on the truth, with a Gaussian error whose size the data reveal, and no regular estimator does better. This lesson proves those facts from the score and the Fisher information, derives the three classical tests, and maps exactly where the theory breaks.

What you’ll learn

  • Define the score and the Fisher information, and prove that the score has mean zero and covariance I(θ)=−E[∇2log⁡p]I(\boldsymbol\theta) = -\E[\nabla^2 \log p].
  • Prove consistency of the MLE from the KL divergence and a uniform law of large numbers, and state the conditions it needs.
  • Derive n(θ^n−θ0)→N(0,I(θ0)−1)\sqrt n(\hat{\boldsymbol\theta}_n - \boldsymbol\theta_0) \to \mathcal N(\mathbf 0, I(\boldsymbol\theta_0)^{-1}), prove the Cramér–Rao bound, and explain why superefficiency does not dethrone the MLE.
  • Derive the Wald, score and likelihood-ratio tests and Wilks' theorem, and recognize the settings where they fail.

Score and Fisher information

DerivationTwo identities
  1. Eθ[s(θ;x)]=∫∇θ p(x∣θ) dx=∇θ∫p(x∣θ) dx=0\E_{\boldsymbol\theta}\big[\mathbf s(\boldsymbol\theta; x)\big] = \int \nabla_{\boldsymbol\theta}\, p(x \mid \boldsymbol\theta)\,dx = \nabla_{\boldsymbol\theta} \int p(x \mid \boldsymbol\theta)\,dx = \mathbf 0

    Differentiate ∫p(x∣θ) dx=1\int p(x \mid \boldsymbol\theta)\,dx = 1 under the integral sign, using ∇p=p ∇log⁡p\nabla p = p\,\nabla\log p. The score has mean zero at the true parameter:

  2. ∫∇θ2log⁡p(x∣θ)  p(x∣θ) dx+∫s s⊤ p(x∣θ) dx=0\int \nabla^2_{\boldsymbol\theta} \log p(x \mid \boldsymbol\theta)\; p(x \mid \boldsymbol\theta)\,dx + \int \mathbf s\,\mathbf s^\top\, p(x \mid \boldsymbol\theta)\,dx = \mathbf 0

    Differentiate ∫s(θ;x) p(x∣θ) dx=0\int \mathbf s(\boldsymbol\theta; x)\, p(x \mid \boldsymbol\theta)\,dx = \mathbf 0 once more, by the product rule:

  3. I(θ)=Cov⁡θ[s(θ;x)]=−Eθ[∇θ2log⁡p(x∣θ)]I(\boldsymbol\theta) = \Cov_{\boldsymbol\theta}\big[\mathbf s(\boldsymbol\theta; x)\big] = -\E_{\boldsymbol\theta}\big[\nabla^2_{\boldsymbol\theta} \log p(x \mid \boldsymbol\theta)\big]

    So the information is both the covariance of the score and the expected curvature of the log-likelihood: a sharply peaked log-likelihood means a very informative observation.

ModelParameterFisher information per observation
Bernoullipp1/(p(1−p))1/\big(p(1-p)\big)
Poissonrate λ\lambda1/λ1/\lambda
Exponentialrate λ\lambda1/λ21/\lambda^2
N(μ,σ2)\mathcal N(\mu, \sigma^2)(μ,σ2)(\mu, \sigma^2)diag⁡(1/σ2, 1/(2σ4))\diag\big(1/\sigma^2,\ 1/(2\sigma^4)\big)
Logistic regressionw\mathbf wE[q(1−q) xx⊤]\E\big[q(1-q)\,\mathbf x\mathbf x^\top\big], q=σ(w⊤x)q = \sigma(\mathbf w^\top\mathbf x)
A fair coin is the least informative Bernoulli (I=4I = 4 at p=12p = \tfrac12): outcomes near certainty pin pp down faster. In logistic regression, points the model already classifies confidently (qq near 0 or 1) carry little information.

The information is also the local geometry of the model. Expanding the log-density to second order, the first-order term vanishes by the mean-zero identity, leaving DKL(pθ ∥ pθ+δ)=12 δ⊤I(θ) δ+o(∥δ∥2)\KL(p_{\boldsymbol\theta} \,\|\, p_{\boldsymbol\theta + \boldsymbol\delta}) = \tfrac12\,\boldsymbol\delta^\top I(\boldsymbol\theta)\,\boldsymbol\delta + o(\norm{\boldsymbol\delta}^2): where II is small, nearby parameters give nearly indistinguishable distributions. Under a reparameterization θ=θ(η)\boldsymbol\theta = \boldsymbol\theta(\boldsymbol\eta) with Jacobian J=∂θ/∂ηJ = \partial\boldsymbol\theta/\partial\boldsymbol\eta, the information transforms as Iη=J⊤IθJI_{\boldsymbol\eta} = J^\top I_{\boldsymbol\theta} J, which is why the natural gradient I−1∇ℓI^{-1}\nabla\ell does not depend on the parameterization (Mirror Descent & Natural Gradient).

Consistency

Let the data be i.i.d. from p(⋅∣θ0)p(\cdot \mid \boldsymbol\theta_0), and write Mn(θ)=1nℓn(θ)M_n(\boldsymbol\theta) = \frac1n\ell_n(\boldsymbol\theta) and M(θ)=Eθ0[log⁡p(x∣θ)]M(\boldsymbol\theta) = \E_{\boldsymbol\theta_0}\big[\log p(x \mid \boldsymbol\theta)\big]. The MLE maximizes MnM_n, and for each fixed θ\boldsymbol\theta the law of large numbers gives Mn(θ)→M(θ)M_n(\boldsymbol\theta) \to M(\boldsymbol\theta). Consistency needs two more ingredients: the limit MM must have a unique, well-separated maximum at θ0\boldsymbol\theta_0, and the convergence must be uniform.

DerivationThe truth maximizes the expected log-likelihood
  1. M(θ)−M(θ0)=Eθ0[log⁡p(x∣θ)p(x∣θ0)]≤log⁡Eθ0[p(x∣θ)p(x∣θ0)]≤log⁡1=0M(\boldsymbol\theta) - M(\boldsymbol\theta_0) = \E_{\boldsymbol\theta_0}\Big[\log\frac{p(x \mid \boldsymbol\theta)}{p(x \mid \boldsymbol\theta_0)}\Big] \le \log \E_{\boldsymbol\theta_0}\Big[\frac{p(x \mid \boldsymbol\theta)}{p(x \mid \boldsymbol\theta_0)}\Big] \le \log 1 = 0

    Jensen's inequality for the concave log⁡\log, integrating over the support of pθ0p_{\boldsymbol\theta_0}:

  2. M(θ0)−M(θ)=DKL(pθ0 ∥ pθ)≥0M(\boldsymbol\theta_0) - M(\boldsymbol\theta) = \KL(p_{\boldsymbol\theta_0} \,\|\, p_{\boldsymbol\theta}) \ge 0

    The gap is a KL divergence, which is zero only when the two distributions coincide. If the model is identifiable (θ≠θ0⇒pθ≠pθ0\boldsymbol\theta \ne \boldsymbol\theta_0 \Rightarrow p_{\boldsymbol\theta} \ne p_{\boldsymbol\theta_0}), θ0\boldsymbol\theta_0 is the unique maximizer of MM.

DerivationProof
  1. M(θ0)−M(θ^n)=[M(θ0)−Mn(θ0)]+[Mn(θ0)−Mn(θ^n)]+[Mn(θ^n)−M(θ^n)]≤2sup⁡θ∣Mn−M∣+oP(1)M(\boldsymbol\theta_0) - M(\hat{\boldsymbol\theta}_n) = \big[M(\boldsymbol\theta_0) - M_n(\boldsymbol\theta_0)\big] + \big[M_n(\boldsymbol\theta_0) - M_n(\hat{\boldsymbol\theta}_n)\big] + \big[M_n(\hat{\boldsymbol\theta}_n) - M(\hat{\boldsymbol\theta}_n)\big] \le 2\sup_{\boldsymbol\theta}\abs{M_n - M} + o_P(1)

    Split the gap in MM into three pieces. The first and third are bounded by the uniform deviation, the middle one by the near-maximizing property:

  2. Pr⁡(∥θ^n−θ0∥≥ε)≤Pr⁡(M(θ0)−M(θ^n)≥η)→0\Pr\big(\norm{\hat{\boldsymbol\theta}_n - \boldsymbol\theta_0} \ge \varepsilon\big) \le \Pr\big(M(\boldsymbol\theta_0) - M(\hat{\boldsymbol\theta}_n) \ge \eta\big) \to 0

    By well-separation, ∥θ^n−θ0∥≥ε\norm{\hat{\boldsymbol\theta}_n - \boldsymbol\theta_0} \ge \varepsilon forces M(θ^n)≤M(θ0)−ηM(\hat{\boldsymbol\theta}_n) \le M(\boldsymbol\theta_0) - \eta for some η>0\eta > 0, an event whose probability tends to zero by the first step:

Uniform convergence holds, for instance, when Θ\Theta is compact, log⁡p(x∣θ)\log p(x \mid \boldsymbol\theta) is continuous in θ\boldsymbol\theta, and sup⁡θ∣log⁡p(x∣θ)∣\sup_{\boldsymbol\theta}\abs{\log p(x \mid \boldsymbol\theta)} is integrable (a uniform law of large numbers); continuity plus compactness and identifiability then make the maximum well separated. Wald (1949) proved consistency of the MLE under conditions of this kind. When the log-likelihood is concave, as for exponential families in their natural parameters, compactness can be dropped: pointwise convergence of concave functions is automatically uniform on compact sets.

Predict before you look

In the Neyman–Scott design the true variance is σ2=4\sigma^2 = 4. As the number of pairs grows without bound, what value does the MLE of σ2\sigma^2 converge to?

Show the answer

2

σ^2=14n∑i(xi1−xi2)2→2σ24=σ22=2\hat\sigma^2 = \frac{1}{4n}\sum_i (x_{i1} - x_{i2})^2 \to \frac{2\sigma^2}{4} = \frac{\sigma^2}{2} = 2. More data never helps, because every new pair brings a new unknown mean along with it. The bias-corrected 2σ^22\hat\sigma^2 is consistent.

Asymptotic normality and efficiency

DerivationProof sketch: linearize the score
  1. 0=Un(θ^n)=Un(θ0)+∇2ℓn(θ~n) (θ^n−θ0)\mathbf 0 = U_n(\hat{\boldsymbol\theta}_n) = U_n(\boldsymbol\theta_0) + \nabla^2\ell_n(\tilde{\boldsymbol\theta}_n)\,(\hat{\boldsymbol\theta}_n - \boldsymbol\theta_0)

    With probability tending to one the consistent MLE is an interior stationary point, Un(θ^n)=0U_n(\hat{\boldsymbol\theta}_n) = \mathbf 0. Expand the score around θ0\boldsymbol\theta_0 (mean-value form, row by row, with θ~n\tilde{\boldsymbol\theta}_n between the two):

  2. n (θ^n−θ0)=[−1n∇2ℓn(θ~n)]−1 1n Un(θ0)\sqrt n\,(\hat{\boldsymbol\theta}_n - \boldsymbol\theta_0) = \Big[-\tfrac1n\nabla^2\ell_n(\tilde{\boldsymbol\theta}_n)\Big]^{-1}\ \tfrac{1}{\sqrt n}\,U_n(\boldsymbol\theta_0)

    Rearrange and scale by n\sqrt n:

  3. 1n Un(θ0)→dN(0,I(θ0)),−1n∇2ℓn(θ~n)→pI(θ0)\tfrac{1}{\sqrt n}\,U_n(\boldsymbol\theta_0) \xrightarrow{d} \mathcal N\big(\mathbf 0, I(\boldsymbol\theta_0)\big), \qquad -\tfrac1n\nabla^2\ell_n(\tilde{\boldsymbol\theta}_n) \xrightarrow{p} I(\boldsymbol\theta_0)

    The score is a sum of i.i.d. terms with mean 0\mathbf 0 and covariance I(θ0)I(\boldsymbol\theta_0), so the central limit theorem applies. The bracket converges to I(θ0)I(\boldsymbol\theta_0) by the law of large numbers, consistency and the domination condition:

  4. n (θ^n−θ0)→dN(0, I−1I I−1)=N(0, I(θ0)−1)\sqrt n\,(\hat{\boldsymbol\theta}_n - \boldsymbol\theta_0) \xrightarrow{d} \mathcal N\big(\mathbf 0,\ I^{-1} I\, I^{-1}\big) = \mathcal N\big(\mathbf 0,\ I(\boldsymbol\theta_0)^{-1}\big)

    Slutsky's lemma combines the two. Here the "bread" and the "meat" are the same matrix; when the model is wrong they differ, and the sandwich A−1BA−1A^{-1}BA^{-1} survives (When the Model Is Wrong).

In practice the standard errors come from the inverse of the observed information Jn=−∇2ℓn(θ^n)J_n = -\nabla^2\ell_n(\hat{\boldsymbol\theta}_n) or of n I(θ^n)n\,I(\hat{\boldsymbol\theta}_n); Efron & Hinkley (1978) argued that the observed version is usually the more relevant one. For a smooth function gg, the delta method gives n (g(θ^n)−g(θ0))→N(0,∇g⊤I−1∇g)\sqrt n\,(g(\hat{\boldsymbol\theta}_n) - g(\boldsymbol\theta_0)) \to \mathcal N(0, \nabla g^\top I^{-1}\nabla g). For a coin, I(p)−1=p(1−p)I(p)^{-1} = p(1-p), so the 95% interval is about p^±1.96p^(1−p^)/n\hat p \pm 1.96\sqrt{\hat p(1-\hat p)/n}; with a flat prior the Bayesian credible interval has nearly the same endpoints, a first instance of the Bernstein–von Mises theorem (Bayesian Inference).

DerivationProof
  1. g′(θ)=∫T(x) ∂θ pn(x∣θ) dx=Eθ[T Un(θ)]=Cov⁡θ(T,Un(θ))g'(\theta) = \int T(\mathbf x)\, \partial_\theta\, p_n(\mathbf x \mid \theta)\, d\mathbf x = \E_\theta\big[T\,U_n(\theta)\big] = \Cov_\theta\big(T, U_n(\theta)\big)

    Differentiate EθT=g(θ)\E_\theta T = g(\theta) under the integral sign. Since the score has mean zero, the result is a covariance:

  2. g′(θ)2≤Var⁡θ(T) Var⁡θ(Un(θ))=Var⁡θ(T)  n I(θ)g'(\theta)^2 \le \Var_\theta(T)\,\Var_\theta\big(U_n(\theta)\big) = \Var_\theta(T)\; n\,I(\theta)

    The Cauchy–Schwarz inequality, with Var⁡θUn=n I(θ)\Var_\theta U_n = n\,I(\theta), gives the bound:

  3. Var⁡θ(T)=g′(θ)2n I(θ)  ⟺  T−g(θ)∝Un(θ)\Var_\theta(T) = \frac{g'(\theta)^2}{n\,I(\theta)} \iff T - g(\theta) \propto U_n(\theta)

    Equality requires T−g(θ)=a(θ) Un(θ)T - g(\theta) = a(\theta)\,U_n(\theta) almost surely, which forces an exponential family with TT as its sufficient statistic (Exponential Families). The sample mean of Poisson counts attains the bound λ/n\lambda/n exactly; most estimators attain it only as n→∞n \to \infty, which is what asymptotic efficiency means.

Wald, score and likelihood-ratio tests

To test H0:θ=θ0H_0: \boldsymbol\theta = \boldsymbol\theta_0 in a dd-parameter model, the asymptotics above suggest three statistics. The Wald statistic (Wald, 1943) measures how far the MLE lies from θ0\boldsymbol\theta_0 in units of its standard error; the score statistic (Rao, 1948) measures how steep the log-likelihood is at θ0\boldsymbol\theta_0, and needs no fit under the alternative; the likelihood ratio compares the heights of the log-likelihood:

W=n (θ^−θ0)⊤I(θ^) (θ^−θ0),S=1n Un(θ0)⊤I(θ0)−1 Un(θ0),Λ=2[ℓn(θ^)−ℓn(θ0)]W = n\,(\hat{\boldsymbol\theta} - \boldsymbol\theta_0)^\top I(\hat{\boldsymbol\theta})\,(\hat{\boldsymbol\theta} - \boldsymbol\theta_0),\qquad S = \tfrac1n\,U_n(\boldsymbol\theta_0)^\top I(\boldsymbol\theta_0)^{-1}\,U_n(\boldsymbol\theta_0),\qquad \Lambda = 2\big[\ell_n(\hat{\boldsymbol\theta}) - \ell_n(\boldsymbol\theta_0)\big]
Under H0H_0 all three converge in distribution to χd2\chi^2_d. For a composite null that imposes rr restrictions, θ0\boldsymbol\theta_0 is replaced by the restricted MLE and the limit is χr2\chi^2_r: Wilks' theorem (Wilks, 1938).
DerivationWilks' theorem for a simple null
  1. ℓn(θ0)=ℓn(θ^)+12 (θ0−θ^)⊤ ∇2ℓn(θ~) (θ0−θ^)\ell_n(\boldsymbol\theta_0) = \ell_n(\hat{\boldsymbol\theta}) + \tfrac12\,(\boldsymbol\theta_0 - \hat{\boldsymbol\theta})^\top\,\nabla^2\ell_n(\tilde{\boldsymbol\theta})\,(\boldsymbol\theta_0 - \hat{\boldsymbol\theta})

    Expand ℓn(θ0)\ell_n(\boldsymbol\theta_0) around the MLE, where the gradient vanishes:

  2. Λ=n (θ^−θ0)⊤[−1n∇2ℓn(θ~)]n (θ^−θ0)\Lambda = \sqrt n\,(\hat{\boldsymbol\theta} - \boldsymbol\theta_0)^\top \Big[-\tfrac1n\nabla^2\ell_n(\tilde{\boldsymbol\theta})\Big]\sqrt n\,(\hat{\boldsymbol\theta} - \boldsymbol\theta_0)

    Rearrange into a quadratic form in n(θ^−θ0)\sqrt n(\hat{\boldsymbol\theta} - \boldsymbol\theta_0), whose middle matrix converges to I(θ0)I(\boldsymbol\theta_0):

  3. Λ→dz⊤I(θ0) z∼χd2\Lambda \xrightarrow{d} \mathbf z^\top I(\boldsymbol\theta_0)\,\mathbf z \sim \chi^2_d

    With z∼N(0,I−1)\mathbf z \sim \mathcal N(\mathbf 0, I^{-1}) the limit, z⊤Iz=∥I1/2z∥2\mathbf z^\top I\mathbf z = \norm{I^{1/2}\mathbf z}^2 is a sum of dd independent squared standard normals. The same expansion shows W−Λ→0W - \Lambda \to 0 and S−Λ→0S - \Lambda \to 0 in probability under H0H_0.

StatisticValuepp-value (χ12\chi^2_1)
Wald, in pp(0.6−0.5)20.6⋅0.4/100=4.17\frac{(0.6 - 0.5)^2}{0.6\cdot0.4/100} = 4.170.041
Wald, in log-odds η\eta(log⁡1.5)21/(100⋅0.6⋅0.4)=3.95\frac{(\log 1.5)^2}{1/(100\cdot0.6\cdot0.4)} = 3.950.047
Score(0.6−0.5)20.5⋅0.5/100=4.00\frac{(0.6 - 0.5)^2}{0.5\cdot0.5/100} = 4.000.046
Likelihood ratio2[60log⁡0.60.5+40log⁡0.40.5]=4.032\big[60\log\frac{0.6}{0.5} + 40\log\frac{0.4}{0.5}\big] = 4.030.045
60 heads in 100 flips, testing H0:p=12H_0: p = \tfrac12. All four reject at 5%, and they agree to first order. The Wald statistic alone changes when the same hypothesis is written on another scale (η=0\eta = 0 instead of p=12p = \tfrac12), because it measures distance in parameter coordinates. The score and likelihood-ratio statistics are invariant.

Inverting a test gives a confidence region. Profile-likelihood intervals {θ:2[ℓn(θ^)−max⁡ψℓn(θ,ψ)]≤3.84}\{\theta : 2[\ell_n(\hat{\boldsymbol\theta}) - \max_{\boldsymbol\psi}\ell_n(\theta, \boldsymbol\psi)] \le 3.84\} (nuisance parameters ψ\boldsymbol\psi maximized out) inherit the likelihood ratio's invariance and respect the parameter space. Wald intervals θ^±1.96 se\hat\theta \pm 1.96\,\mathrm{se} are cheaper but can be badly asymmetric in coverage, and can even leave the parameter space: a Wald interval for a probability can extend below zero.

Where the asymptotics fail

FailureExampleWhat happens instead
True value on the boundarytesting that a variance component is zero (no random effect)For one boundary parameter, Λ→12χ02+12χ12\Lambda \to \tfrac12\chi^2_0 + \tfrac12\chi^2_1 (Chernoff, 1954; Self & Liang, 1987). The 5% critical value is 2.71, not 3.84.
Support depends on θ\thetaUniform(0,θ)\mathrm{Uniform}(0, \theta), MLE max⁡ixi\max_i x_in(θ−θ^)/θ→Exp(1)n(\theta - \hat\theta)/\theta \to \mathrm{Exp}(1): error of order 1/n1/n, not 1/n1/\sqrt n, and Cramér–Rao does not apply.
Singular information, non-identifiabilitynumber of mixture components, neural networks, reduced-rank modelsΛ\Lambda is not χ2\chi^2, and posterior and BIC asymptotics change (Watanabe, 2009; Bayesian Model Selection).
Parameters growing with nnNeyman–Scott, many fixed effectsThe MLE can be inconsistent.
Dimension proportional to nnlogistic regression with d/n→κ>0d/n \to \kappa > 0The MLE overestimates effect sizes, its variance exceeds I−1/nI^{-1}/n, and Λ\Lambda tends to a rescaled χ2\chi^2 (Sur & Candès, 2019). With no signal and κ>12\kappa > \tfrac12 the data are typically separable and the MLE does not exist.
Each row breaks one assumption of the proofs: an interior parameter, a fixed support, a nonsingular II, a fixed parameter space, or a fixed dimension.
Check your understanding

You test whether a random-effect variance is zero with the likelihood ratio and the usual χ12\chi^2_1 critical value 3.843.84. What is the test's actual size in large samples?

  1. 5%, as intended
  2. About 2.5%: the test is conservative
  3. About 10%: the test rejects too often
  4. Undefined, because the likelihood ratio is negative on the boundary
Show the answer

B. About 2.5%: the test is conservative

Under the null, half the time the unconstrained maximum would be a negative variance; the constrained MLE then sits at zero and Λ=0\Lambda = 0. So Λ→12χ02+12χ12\Lambda \to \tfrac12\chi^2_0 + \tfrac12\chi^2_1 and Pr⁡(Λ>3.84)→12⋅0.05=0.025\Pr(\Lambda > 3.84) \to \tfrac12\cdot0.05 = 0.025. Using the mixture's critical value, 2.71, restores 5% and gains power.

Key takeaways

  • The score ∇log⁡p\nabla\log p has mean zero, and its covariance, the Fisher information, equals the expected negative Hessian of the log-likelihood. Locally, DKL(pθ ∥ pθ+δ)≈12δ⊤Iδ\KL(p_{\boldsymbol\theta} \,\|\, p_{\boldsymbol\theta + \boldsymbol\delta}) \approx \frac12\boldsymbol\delta^\top I\boldsymbol\delta.
  • The truth maximizes the expected log-likelihood (the gap is a KL divergence); with identifiability, a well-separated maximum and a uniform law of large numbers the MLE is consistent. When the number of parameters grows with nn (Neyman–Scott) it can be inconsistent.
  • Linearizing the score gives n(θ^n−θ0)→N(0,I−1)\sqrt n(\hat{\boldsymbol\theta}_n - \boldsymbol\theta_0) \to \mathcal N(\mathbf 0, I^{-1}). Cramér–Rao, Var⁡T≥g′2/(nI)\Var T \ge g'^2/(nI), makes this optimal among unbiased estimators; Hájek's convolution theorem makes it optimal among regular ones, superefficiency notwithstanding.
  • The Wald, score and likelihood-ratio statistics are all asymptotically χr2\chi^2_r under the null (Wilks); they agree to first order, but only the score and likelihood-ratio statistics are invariant to reparameterization.
  • The theory breaks at boundaries (mixtures of χ2\chi^2), with parameter-dependent supports (1/n1/n rates), singular models, growing numbers of parameters, and dimensions proportional to nn.

Check yourself

In the interactive lesson these are scored with your confidence, and what you miss comes back for review.

Question 1

A fair coin is flipped n=400n = 400 times. What is the asymptotic standard deviation of the MLE p^\hat p?

  1. 0.00250.0025
  2. 0.0250.025
  3. 0.050.05
  4. 0.250.25
Show the answer

B. 0.0250.025

I(p)=1/(p(1−p))=4I(p) = 1/(p(1-p)) = 4 at p=12p = \tfrac12, so Var⁡p^≈1/(nI)=1/1600\Var\hat p \approx 1/(nI) = 1/1600 and the standard deviation is 1/40=0.0251/40 = 0.025. Here the asymptotic formula is exact, since Var⁡p^=p(1−p)/n\Var\hat p = p(1-p)/n for every nn.

Question 2

Which unbiased estimator attains the Cramér–Rao bound exactly, for every sample size?

  1. The sample median, for the mean of a Gaussian
  2. s2=1n−1∑i(xi−xˉ)2s^2 = \frac{1}{n-1}\sum_i (x_i - \bar x)^2, for the variance of a Gaussian with unknown mean
  3. The sample mean, for the rate λ\lambda of Poisson counts
  4. n+1nmax⁡ixi\frac{n+1}{n}\max_i x_i, for θ\theta in Uniform(0,θ)\mathrm{Uniform}(0, \theta)
Show the answer

C. The sample mean, for the rate λ\lambda of Poisson counts

Var⁡xˉ=λ/n\Var\bar x = \lambda/n, and 1/(nI(λ))=λ/n1/(nI(\lambda)) = \lambda/n. Equality holds because the score ∑ixi/λ−n\sum_i x_i/\lambda - n is a linear function of xˉ\bar x, the exponential-family condition.

Question 3

You test H0:p=12H_0: p = \tfrac12 for a coin, then test the same hypothesis written as η=0\eta = 0 for the log-odds η=log⁡p1−p\eta = \log\frac{p}{1-p}. Which statistic can give a different value?

  1. The likelihood-ratio statistic
  2. The score statistic
  3. None: equivalent hypotheses always give equal statistics
  4. The Wald statistic
Show the answer

D. The Wald statistic

The Wald statistic measures the distance θ^−θ0\hat\theta - \theta_0 in the chosen coordinates, and a nonlinear change of coordinates distorts it: 4.17 on the pp scale versus 3.95 on the log-odds scale for 60 heads in 100. The likelihood ratio compares likelihood heights, which do not depend on labels, and the score statistic is invariant because the score and the information transform with the same Jacobian.

Further reading

  • A. W. van der Vaart, Asymptotic Statistics (Cambridge University Press, 1998), chapters 5, 8 and 16.
  • A. Wald, "Note on the consistency of the maximum likelihood estimate," Annals of Mathematical Statistics 20(4), 595–601 (1949).
  • C. R. Rao, "Information and the accuracy attainable in the estimation of statistical parameters," Bulletin of the Calcutta Mathematical Society 37, 81–91 (1945).
  • S. S. Wilks, "The large-sample distribution of the likelihood ratio for testing composite hypotheses," Annals of Mathematical Statistics 9(1), 60–62 (1938).
  • P. Sur & E. J. Candès, "A modern maximum-likelihood theory for high-dimensional logistic regression," Proceedings of the National Academy of Sciences 116(29), 14516–14525 (2019).