Chapter 9: the Neyman–Scott problem, estimating functions and semiparametric models

Chapter 9 · book pp. 191–213 · Shun-ichi Amari, Information Geometry and Its Applications (2016)

nuisance-parameterneyman-scott-problemsemiparametric-modelestimating-functionefficient-scoremixture-modeltangent-spacee-m-parallel-transporttotal-least-squaresmatched-pairsgamma-shapeorthogonal-parameters

Notes for Chapter 9 of Amari, Information Geometry and Its Applications (Springer, 2016). The next section summarises the book’s chapter in my own words. The sections after it are explorations that I asked for, one at a time, so they follow my questions and not the book’s order. They keep the intuition, the figures and the derivations, and leave out numerical checks.

What the chapter covers (a summary of the book’s chapter)

The chapter asks what to do when a statistical model contains parameters you do not care about (nuisance parameters) and, worse, when there is a new one for every observation, so that the number of nuisance parameters grows in proportion to the data. This is the Neyman–Scott problem, which shocked statisticians because maximum likelihood need not be consistent or efficient there. The chapter replaces it by a geometric construction: put the unknown law of the nuisance parameter inside the model, look at the tangent space of the resulting semiparametric model, and find the estimators that are orthogonal to the nuisance directions. The author says openly that the function-space part is treated intuitively and not rigorously. The sections in order:

In one paragraph

Many models have a parameter you want, u, and others you do not care about, v: you want the weight of a specimen but do not know how accurate the scale is. Usually you fit everything and keep the part you want. The chapter is about the case where this breaks: in a Neyman–Scott problem every observation brings its own nuisance parameter, so the number of nuisance parameters grows with the data and each is estimated from a single observation. Then the maximum likelihood estimate (MLE) can settle on the wrong value however much data you collect. Weigh each specimen twice and the MLE of the scale’s variance is half the truth; observe matched pairs of yes/no outcomes and the MLE of the odds ratio converges to its square. The book’s cure is geometric. Treat the unknown distribution k of the nuisance parameter as part of the model: the observations are then identically distributed from a mixture p_K=\int p(x;u,v)k(v)\,dv, a semiparametric model with a parameter u and a function k. Random variables with mean zero are tangent vectors, the inner product is the covariance, and the directions in which k can change span a subspace T_K (the nuisance tangent space). An estimating function f(x,u), a recipe whose average is zero for every value of v, is exactly a vector orthogonal to T_K; its root \sum f(x_i,u)=0 is a consistent estimator whatever k is, with variance \mathbb E f^2/(\mathbb E f')^2/N. The best one is the efficient score, the part of the score of u orthogonal to T_K, and all the others are that plus an ancillary part. When the data depend on v through a sufficient statistic s (an exponential family in v), everything is explicit, and several famous problems are solved, among them regression with errors in both variables, the variance of a scale, and the shape of a spike train. My own working through the chapter confirms the structure on exact finite models and finds several things the text gets wrong: the averaging estimator (9.24) is not consistent, the variance formula (9.103) is misprinted (as printed it falls below the efficiency bound), the denominator of (9.80) is zero as printed, and the iff in (9.32) fails for the book’s own main example, among smaller slips. In that example the MLE is consistent but can be inefficient by a wide margin.

The spine of the argument

  1. Information about u is what is left of the score of u after removing the part that mimics a change of the nuisance parameter: \bar g_{ab}=g_{ab}-g_{a\kappa}g^{\kappa\lambda}g_{\lambda b} (the Schur complement), the squared length of the efficient score (9.10)–(9.16). A scalar u always admits an orthogonal nuisance parametrisation; a vector u in general does not (§9.1).
  2. Neyman–Scott: x_i\sim p(x;u,v_i) with a new v_i each time. Joint maximum likelihood can be inconsistent; reformulate by letting v_i\sim k with k unknown, so that x_i\sim p_K(x;u,k) is iid and the model is semiparametric (§9.2).
  3. An estimating function f(x,u) has \mathbb E_{u,v}f=0 for every v; the root of \sum f(x_i,u)=0 is asymptotically normal with variance \mathbb E f^2/\{N(\mathbb E f')^2\} (Theorem 9.1, §9.3).
  4. Tangent space T=T_U\oplus T_K\oplus T_A (interest, nuisance, ancillary). The e- and m-transports are dual; T_K is m-invariant; an estimating function is a vector orthogonal to T_K that is e-invariant (Theorems 9.2–9.4, §9.4).
  5. Estimating functions exist iff the efficient score \dot l_E (projection of the u-score off T_K) is non-zero; all of them are \dot l_E+a with a\in T_A, and \dot l_E has the least variance, 1/(N\bar g) (Theorems 9.5–9.6).
  6. If p=\exp\{vs(x,u)+r(x,u)-\psi(u,v)\} then T_K=\{h(s)\} and \dot l_E=\mathbb E[v\mid s]\{s'-\mathbb E[s'\mid s]\}+r'-\mathbb E[r'\mid s]; when s' is a function of s this does not involve k (Theorem 9.7, §9.5.1).
  7. Worked solutions: the coefficient of proportionality (a class indexed by a function h), the variance of a scale, the common mean of scales of unknown accuracy, the shape of a spike train (§9.5).
  8. The function-space argument is admitted to be non-rigorous; I replace it by exact finite models and by closed forms.

Setup and notation

Symbol Meaning In the examples
p(x;u,v) the model; u parameter of interest, v nuisance parameter (9.1) x\sim N(v,1), y\sim N(uv,1)
e_a=\partial_a\log p, e_\kappa scores of u and of v (9.13)
g_{\alpha\beta}, blocks g_{ab},g_{a\kappa},g_{\kappa\lambda} Fisher matrix of (u,v) (9.4)–(9.7) g_{uu}=v^2, g_{uv}=uv, g_{vv}=1+u^2
\bar g_{ab}, \bar e_a efficient information, efficient score (9.10), (9.14) \bar g=v^2/(1+u^2)
k(v), p_K=\int p\,k\,dv, \tilde M mixing law of the nuisance parameter, the mixture, the semiparametric model (9.27)–(9.28)
f(x,u), A=\mathbb E f' estimating function and the expectation of its u-derivative (9.29)–(9.31), (9.38) (y-ux)\,h(x+uy)
T_{u,k}, T_U, T_K, T_A tangent space (mean-zero random variables with the covariance inner product), tangent line of interest, nuisance tangent space, ancillary tangent space (9.48)–(9.57)
\Pi^{e}, \Pi^{m} e- and m-parallel transport from k to k' (9.60), (9.63)
s,r,\psi exponential form in the nuisance parameter, p=\exp\{vs+r-\psi\} (9.81) s=x+uy
\dot l_E efficient score of the semiparametric model (9.90)
q=1+u^2 abbreviation I use

Running examples. (i) The coefficient of proportionality: x_i=v_i+\varepsilon_i, y_i=uv_i+\varepsilon_i' with unit Gaussian noise (the book’s \sigma^2 is general in (9.20), unit in (9.2) and §9.5.2, which is what I use), u the specific gravity and v_i the volume of specimen i. (ii) Boxes of measurements: m readings of a scale on each of N specimens, one unknown mean per box, the variance \sigma^2 to estimate. (iii) Matched pairs: binary (x,y), odds of y equal to u times the odds of x, one free log-odds v per pair. Because the sample space is finite, this is where all the tangent-space geometry of §9.4 can be computed exactly: binomial pairs x,y\in\{0,\dots,m\} with a small m and a mixing law on a grid of nuisance values. (iv) The spike train of §9.5.4: gamma intervals with shape \kappa and a rate that changes between boxes.

1. Statistical model including nuisance parameters (§9.1)

In plain words. Each parameter direction has a score, the random variable \partial\log p that says how the log-likelihood moves when you push the parameter; two scores are as aligned as their covariance says. If the score of u is correlated with the score of v then a change of u can be partly undone by a change of v: the data cannot tell them apart, and only the part of the u-score uncorrelated with the v-score is information about u alone. That part is the efficient score, and its squared length (variance) is the efficient information. A picture: two arrows in a plane, with the angle between them given by the Fisher inner product; drop a perpendicular from the tip of e_u onto the line of e_v.

An example in words. Take the proportionality model, x\sim N(v,1), y\sim N(uv,1), with one specimen volume v shared by all pairs. The score of u is proportional to v(y-uv) and the score of v is (x-v)+u(y-uv). Both contain the noise in y, so they are correlated: a small increase of u can be partly mimicked by a small decrease of the volume, and the data cannot fully tell the two apart. The efficient score removes exactly the part of the u-score that lies along the v-score; what is left is shorter than the original, by the sine of the angle between the two arrows. If you knew v you would estimate u from the full u-score, and not knowing it makes the estimate of u noisier by the factor 1+u^2 in this model.

Left: in the tangent plane with the Fisher inner product, the u-score as a long arrow, the nuisance score at an acute angle to it, and the efficient score, the component of the u-score orthogonal to the nuisance score, drawn as a perpendicular dropped onto the nuisance line. Right: lifting loops of increasing radius in the plane of a two-dimensional parameter of interest horizontally makes the nuisance coordinate drift further downwards the bigger the loop, so a closed loop does not close.

The statement. Split the Fisher matrix of \xi=(u,v) in blocks (9.4)–(9.7). The covariance of the joint MLE is g^{\alpha\beta}/N (9.8), and its (a,b) block is not the inverse of g_{ab} but the inverse of the Schur complement \bar g_{ab}=g_{ab}-g_{a\kappa}g^{\kappa\lambda}g_{\lambda b} (9.10), what is left of g_{ab} after the nuisance block has been eliminated, with \bar g\le g_{ab} (9.11). The efficient score \bar e_a=e_a-g_{a\lambda}g^{\lambda\kappa}e_\kappa (9.14) is e_a minus its projection on the span of the nuisance scores, and \bar g_{ab}=\langle\bar e_a,\bar e_b\rangle (9.16).

Check. For this example the efficient score is \bar e_u=\tfrac{v}{1+u^2}(y-ux); it is uncorrelated with the nuisance score, as it must be, and its variance is \bar g=v^2/(1+u^2). The MLE is \hat v=\bar x, \hat u=\bar y/\bar x, and its error variance is 1/(N\bar g), which is the factor 1+u^2 larger than what you get when v is known. For a vector u the same holds block by block: the (a,b) block of the inverse is the inverse of the Schur complement, and g_{ab}-\bar g_{ab} is positive semidefinite. A notational slip. The bottom row of the inverse matrix in (9.9) is printed with lower indices (g_{\lambda b},g_{\lambda\kappa}, which should be upper), and the symbol g^{\kappa\lambda} then means two different things: the \kappa\lambda block of the full inverse in (9.9), but the inverse of the nuisance block in (9.10), (9.14) and (9.15). Only the second reading gives the right formulas (the same ambiguity as (7.58) in Chapter 7); with the first, \bar g for this model would come out negative, which no information can be.

Orthogonal nuisance parameters (9.17)–(9.19). If g_{a\kappa}=0 nothing is lost, \bar g=g (9.17), so one would like to reparametrise the nuisance parameter, v'=v'(u,v), until the scores are orthogonal. The book says this is in general impossible but always possible for a scalar u. Why scalar works. The new coordinate must be constant along curves u\mapsto(u,v(u)) that stay orthogonal to the nuisance direction, dv/du=-g_{uv}/g_{vv}: an ordinary differential equation, solvable. For the proportionality model dv/du=-uv/(1+u^2) gives v'=v\sqrt{1+u^2}, and in the chart (u,v') the metric is diagonal with g'_{uu}=\bar g=v^2/(1+u^2) exactly. For the gamma density with shape \kappa (interest) and scale \theta (nuisance) one finds g_{\kappa\theta}=1/\theta and g_{\theta\theta}=\kappa/\theta^2, hence \kappa\theta, the mean, is the orthogonal nuisance parameter: that is why the neuron model (9.125) uses the rate v=1/\text{mean}. Why a vector fails (my counterexample). For two parameters of interest, “orthogonal to the nuisance direction” is a plane at each point, and it is the tangent plane of a family of surfaces v'=\text{const} only if the plane field is integrable, which can fail. Take x\sim N(\mu,I_3) with \mu=(u_1,u_2,0)+v\,d(u), d=(-u_2,u_1,1)/\sqrt{1+u_1^2+u_2^2} (a screw-like family of nuisance lines), so that g_{ab}=\partial_a\mu\cdot\partial_b\mu. Lift the circle \lvert u\rvert=\rho so that dv=-(g_{av}/g_{vv})du^a: v comes back changed by exactly -2\pi\rho^2/\sqrt{1+\rho^2}, which is not zero. A function v' with g_{a\lambda}=0 would be constant along these lifts, so none exists. At u=0 itself g_{av}=0: orthogonality at one point is not obstructed, only in a neighbourhood (right panel above).

2. Neyman–Scott problem and semiparametrics (§9.2)

In plain words. Neyman and Scott asked what happens when each observation has its own nuisance parameter. Then fitting everything jointly uses up information: each box’s nuisance parameter is fitted to one box’s data, and the leftover bias does not average out because it is the same in every box.

The simplest case. A scale reads two values for one specimen. The joint MLE puts the specimen’s weight at the midpoint, so both residuals are half the gap, and its variance estimate is the squared half-gap. The unbiased estimate (9.115) divides by m-1 instead of m and so is twice as large when m=2: since \mathbb E(x_1-x_2)^2=2\sigma^2, the MLE’s (x_1-x_2)^2/4 averages \sigma^2/2, whatever the number of specimens. With N boxes of m readings the MLE is exactly (m-1)/m times the within-box estimator of the book’s (9.114), so it converges to (m-1)\sigma^2/m: the spread shrinks as N grows, the bias does not. The within-box estimator attains the bound derived in §5.3.

Matched pairs (my second example). For N pairs the cell probabilities of (00,01,10,11) depend on the mixing law of the log-odds v, but p_{01}/p_{10}=u for every mixing law, since the ratio equals u at each v. The joint MLE (concordant pairs push v_i to \pm\infty and carry no information; for a discordant pair the best v_i gives likelihood 1/(1+\sqrt u)^2 or u/(1+\sqrt u)^2) is \hat u=(n_{01}/n_{10})^2. So the MLE tends to u^2 while the ratio n_{01}/n_{10}\to u is consistent. The estimating function f=y(1-x)-ux(1-y) gives that consistent estimator, with asymptotic variance u(1+u)^2/\mathbb P(\text{discordant}) per pair.

Left: for N boxes of two Gaussian measurements with one unknown mean per box, the maximum likelihood estimate of the variance divided by the truth stays at one half as N grows while the within-box estimator stays at one. Right: for matched pairs with odds ratio 2, the maximum likelihood estimate converges to the square of the odds ratio, the conditional estimate to the odds ratio itself.

Stonehenge (Fig. 9.2). The chapter opens §9.2 with this example but only draws it, so the computation is mine. Stones at distance r from a known centre, each at its own unknown angle v_i, unit noise. The joint MLE gives each stone the direction of its observed point, so the residual is \rho_i-r with \rho_i the distance of the observed point from the centre, and \hat r=\bar\rho. The distance has a Rice law whatever the angles are, so \bar\rho converges to the mean of that law, which exceeds r: the MLE overshoots by about \sigma^2/(2r) for large r and by a large fraction of the radius for small r, however many stones there are. Since \mathbb E\rho^2=r^2+2\sigma^2 exactly, f=\rho^2-r^2-2\sigma^2 is unbiased for every angle, and \sqrt{\overline{\rho^2}-2\sigma^2} is a consistent estimate.

The semiparametric formulation. Since v_1,\dots,v_N are arbitrary, imagine nature draws each v_i from an unknown distribution k and then x_i\sim p(x;u,v_i). Each x_i is then an iid draw from p_K(x;u,k)=\int p(x;u,v)k(v)\,dv (9.27), and the model \tilde M=\{p_K(x;u,k)\} (9.28) has the parameter u and a function k. It is linear (a mixture) in k: this is what makes the geometry work. The reformulation is not innocent: an estimator that works for every k also works for any fixed sequence v_i, but efficiency statements refer to a given k_0 (see Questions).

The five solutions of (9.20) (coefficient of proportionality, v_i spread around a typical size, unit noise):

Left: simulated specimens scattered around the true line y = 2x, with four fitted lines through the origin: least squares tilted too flat, the average of ratios far off, and the gross average and total least squares both close to the truth. Right: running average of y over x for six independent runs up to a million pairs, which keeps jumping around without settling, against the running gross average, which settles at the true slope.

MLE = TLS (§9.2, item 5; “we can prove”): minimising \sum[(x_i-v_i)^2+(y_i-uv_i)^2] jointly over u and the v_i gives the larger root of the quadratic (9.26). The two roots of that quadratic have product exactly -1: the second root is -1/\hat u, the line orthogonal to the fit, which is the worst line (it maximises the sum of squared orthogonal distances). The MLE is consistent in this problem; what is lost is efficiency (§5.2).

3. Estimating function (§9.3)

In plain words. An estimating function is a recipe f(x,u) that turns one observation and a trial value u into a number, such that, if the trial value is the true one, the recipe averages to zero whatever the nuisance parameter is. Then solving “average of f over the data =0” for u (the estimating equation (9.33)) is consistent for all v. The score is one example; in the proportionality model every f=(y-ux)\,h(x+uy) is another. Why: z_1=y-ux=\varepsilon'-u\varepsilon has mean zero and is independent of z_2=x+uy=(1+u^2)v+u\varepsilon'+\varepsilon (their covariance is u\sigma^2-u\sigma^2=0), and z_2 is the only place v enters, so \mathbb E[z_1h(z_2)]=0 for every h and every v.

The statement (Theorem 9.1). If \mathbb E_{u,v}f(x,u)=0 for all v and A=\mathbb E f'\ne0, then the root \hat u of \sum f(x_i,u)=0 near u_0 has \sqrt N(\hat u-u_0)\to N(0,\mathbb E f^2/A^2), i.e. error variance \mathbb E f^2/(NA^2) (9.35); for a vector u the covariance is A^{-1}\mathbb E[ff^{\mathsf T}]A^{-\mathsf T}/N (9.43). Proof: expand the equation at u_0: 0=\epsilon+\sqrt N A(\hat u-u_0) with \epsilon=N^{-1/2}\sum f(x_i,u_0).

Checks. - Sign in the proof. (9.39) prints \hat u-u_0=\epsilon/(\sqrt NA), but the expansion (9.36) gives \hat u-u_0=-\epsilon/(\sqrt NA). The sign is harmless for the variance, since \epsilon is symmetric. - The variance, exactly. For the class f=(y-ux)(uy+x+c) (c=0 is TLS), \mathbb E f^2=q\{(c+q\bar v)^2+q^2\operatorname{Var}v+q\} and A=-(q\overline{v^2}+c\bar v) per specimen, with q=1+u^2, from the independence above (\bar v,\overline{v^2} are the averages of v_i,v_i^2). So N\,\mathrm{Var}(\hat u_c)=\frac{q\,\{(c+q\bar v)^2+q^2(\overline{v^2}-\bar v^2)+q\}}{(c\bar v+q\overline{v^2})^2}. This is (9.103) with a bracket restored. The printed (9.103) multiplies only the first term by 1+u^2 (the other two carry (1+u^2)^2 and (1+u^2) instead of (1+u^2)^3 and (1+u^2)^2), has no 1/N and no square in the denominator. With those repairs the formula is the variance of the root. The corrected curve has its minimum at c=\bar v/\operatorname{Var}v: (9.105) is right for \sigma=1 (for general \sigma it is \sigma^2\bar v/\operatorname{Var}v), and the minimum equals the efficiency bound of §5.2. The printed formula, read at face value, lies below that bound for a whole range of c, including at the book’s own optimum, which no variance can do. - “When and only when” (9.30), (9.32) fails for this class. The population equation is \mathbb E[f(x,y;u')]=(u-u')\{(1+uu')\overline{v^2}+c\bar v\}, which vanishes at u'=u and at u'=-(\overline{v^2}+c\bar v)/(u\overline{v^2}); for TLS (c=0) that second root is -1/u. For TLS the expectation vanishes at u'=-1/u for every v (so (9.30) fails), and for c\ne0 it changes sign in v. The estimator must be “the root near a consistent preliminary estimate” (for example the gross average); the sample equation always has two roots and the second is not a consistent estimate of u. This is a hypothesis the book needs and does not state. - No finite moments. The roots here are ratios and have no finite second moment (for every N the denominator has a density at 0). (9.35) and “asymptotically unbiased” are statements about the limit law. - The vector formula (9.43) has the sandwich form A^{-1}\mathbb E[ff^{\mathsf T}]A^{-\mathsf T}/N, with the factors in this order. For a non-symmetric A the other ordering gives a different matrix, so the order matters and the printed one is right.

4. Information geometry of estimating function (§9.4)

In plain words. Make mean-zero random variables into vectors, with the covariance as inner product: orthogonal means uncorrelated. At a point (u,k) of the semiparametric model, three kinds of directions: changing u (the score \dot l_u spans T_U); changing the unknown k (a perturbation k+tb, \int b=0, moves the density along \dot l_b=\frac1{p_K}\int p(x;u,v)b(v)dv (9.56); together T_K); and everything else, directions that leave the model (the ancillary space T_A, orthogonal to both). T_U and T_K are not orthogonal in general; their angle is what costs information. To compare vectors at two mixing laws k,k' one has to move them. e-transport: keep the change of the log-density but re-centre, r\mapsto r-\mathbb E_{k'}r (9.60). m-transport: keep the change of the density itself, which multiplies by the ratio of densities, r\mapsto\frac{p_K(\cdot;k)}{p_K(\cdot;k')}r (9.63). Because p_K is linear in k, a perturbation b of k is the same perturbation at every k, so the nuisance tangent space is m-transported onto itself (Theorem 9.4).

An exact finite model. Binomial pairs: x,y\in\{0,\dots,m\}, p(x,y;u,v)\propto\binom mx\binom my e^{v(x+y)}u^y (odds ratio u between y and x; the nuisance v is the natural parameter of s=x+y, the exponential form (9.81) with s'=0, r=y\log u), with mixing laws on a grid of nuisance values: for example a discretised Gaussian and a two-atom law. All of §9.4 is then linear algebra on a finite table of outcomes. The picture below shows the efficient score and the variance of the competitors.

Left: the efficient score, the y-coordinate minus its conditional mean given x plus y, divided by u, drawn on the table of outcomes of the binomial pairs; it is positive where y is large for the given total and negative where y is small, and it is the same for every mixing law. Right: the variance of the root of the estimating equation for the efficient score plus t times an ancillary vector of the same norm follows a parabola, smallest at t = 0 where it meets the efficiency bound, with simulated points lying close to the curve.

Checks of the structure. - (9.57), (9.89). The tangent space is the space of mean-zero functions on the table; the span of the transported elementary nuisance directions is the same for both mixing laws and equals the space of mean-zero functions of s alone: T_K=\{h(s)\} (9.89). The unbiased functions form a space whose dimension matches \dim T_K+\dim T_A plus one, so \dim T_U+\dim T_K+\dim T_A=\dim T. The transported elementary nuisance scores (9.74)–(9.75), (p_w/p_K)\,\partial_w\log p_w, lie in T_K(k_1) and span it. (A grid of many atoms spans a large simplex of mixing laws but only a smaller number of tangent directions: some directions of k are invisible to the data.) - Theorem 9.2, duality (9.65). For random mean-zero a,b, the inner product at k_1 equals the inner product of \Pi^ea and \Pi^mb at k_2 (both moved in the same direction k_1\to k_2, as printed). Moving both vectors the same way, by e twice or by m twice, does not preserve it. - Theorem 9.4, (9.76). The m-transport of T_K(k_1) lies in T_K(k_2). The e-transport also preserves it here, which follows from T_K being all functions of s; the book claims only m-invariance, and I did not test an incomplete nuisance family, where e-invariance may fail. The u-score itself is not transported to the u-score. - Lemma (9.82). The u-score of the mixture, computed as the derivative of \log p_K, agrees with s'\mathbb E[v\mid s]+r'-\mathbb E[\psi'\mid s]. - Theorem 9.3. Take any vector g and put f=g-\mathbb E[g\mid s]. It is unbiased for every nuisance value, orthogonal to T_K(k_1) and to T_K(k_2) although built at one of them (so for a mixture one k is enough, which is what the Remark after Theorem 9.6 implies), and (9.68) holds: \mathbb E f'=-\langle\dot l_u,f\rangle.

The efficient score. Projecting \dot l_u off T_K in L^2(p_K) gives the vector \dot l_E=\frac1u\{y-\mathbb E[y\mid s]\} (Corollary (9.91): s'=0 here, so \dot l_E=r'-\mathbb E[r'\mid s] with \mathbb E[y\mid s] a non-central hypergeometric mean), the same vector for both mixing laws, while its squared length \bar g=\mathbb E\dot l_E^2 depends on k. There are three informations about u, in decreasing order: the information when v is known (the average of g_{uu} over the nuisance values), the Fisher information of the mixture p_K when k is known, and \bar g when k is unknown. Each step down is a loss of the angle kind from §1: the less you know, the more of the u-score is explained away. The squared sine of the angle between \dot l_u and T_K is the ratio of the last two.

Theorems 9.5 and 9.6. Every unbiased function is \alpha\dot l_E+a with a orthogonal to T_K and to \dot l_u, that is a\in T_A (the unbiased functions with \mathbb E f'=0 form the kernel of one more linear functional). (9.79) is right up to the factor \alpha (an estimating function can be scaled). Variance: for f_t=\dot l_E+t\,a with \lVert a\rVert^2=\bar g and \mathbb E f'=-\bar g, N\,\mathrm{Var}\to(1+t^2)/\bar g: the extra variance is the squared length of the ancillary part, so \dot l_E has the least variance, 1/(N\bar g), as the right panel of the picture shows. The printed (9.80) is wrong: it reads \mathbb E[\dot l_E^2]/\{\mathbb E[\dot l_E]\}^2 and \mathbb E\dot l_E=0 (a tangent vector has mean zero), so the denominator vanishes. The prime is missing: \{\mathbb E[\dot l_E']\}^2, and \mathbb E\dot l_E'=-\bar g=-\mathbb E\dot l_E^2, which reduces it to 1/(N\bar g).

Two more cases. Matched pairs, m=1: the unbiased functions form a one-dimensional space spanned by (f_{00},f_{01},f_{10},f_{11})=(0,1,-u,0), i.e. y(1-x)-ux(1-y) and the estimator n_{01}/n_{10}. No estimating function (Theorem 9.5, “only when”): x\sim\mathrm{Bernoulli}(u+v) with v on a grid has no non-zero unbiased function: u and v are not separately identifiable and \dot l_u\in T_K. The delta-function bookkeeping (9.71)–(9.74). With \delta_w'(v)=\frac d{dv}\delta(v-w), (9.72)+(9.73) give -b(v) instead of b(v), and the leading minus in (9.74) contradicts (9.56). Only the sign of the spanning vectors is affected, not their span.

5. Solutions to Neyman–Scott problems (§9.5)

5.1 The exponential case and Theorem 9.7

In plain words. If the data depend on the nuisance parameter only through a statistic s, in the exponential form p=\exp\{vs(x,u)+r(x,u)-\psi(u,v)\} (9.81), then everything about v that the data can say is in s: the nuisance tangent space is all functions of s (9.89), and “orthogonal to the nuisance” means “has zero conditional mean given s”. The projection is a conditional expectation, t\mapsto t-\mathbb E[t\mid s] (\mathbb E[t\mid s] is the best guess of t when only s is known, so subtracting it leaves exactly the part of t that s cannot predict). This gives (9.90): \dot l_E=\mathbb E[v\mid s]\{s'-\mathbb E[s'\mid s]\}+r'-\mathbb E[r'\mid s]. If s' is a function of s the first term is zero and \dot l_E=r'-\mathbb E[r'\mid s] does not involve k at all: the corollary (9.91), an adaptive case where the best estimator needs no knowledge of the nuisance distribution. In the finite model above s'=0, so it applies: \dot l_E was the same for k_1 and k_2. In general \dot l_E depends on k through \mathbb E[v\mid s], which is what the proportionality problem needs.

5.2 Coefficient of linear dependence (§9.5.2)

For this model s=x+uy, r=-\tfrac12(x^2+y^2) (no u), s'=y with \mathbb E[y\mid s]=\frac u{1+u^2}s, hence (9.95) \dot l_E=\frac1{1+u^2}(y-ux)\,\mathbb E[v\mid s], and f=(y-ux)h(x+uy) is the whole family (9.97): any h is consistent; h=s is TLS, h= const the gross average. I checked (9.82) and (9.95) in this continuous model for a two-atom mixing law: the u-score of the mixture agrees with y\,\mathbb E[v\mid s]-u\,\mathbb E[v^2\mid s] (the Lemma, \psi'=uv^2), and \dot l_u minus its conditional mean given s agrees with (9.95). Unlike the finite model of §4, \mathbb E[v\mid s] is here a non-trivial function of s that depends on k, so the efficient score does too. Theorem 9.6 here, in two lines. From z_1\perp z_2: \mathbb E f^2=q\,\mathbb E h(s)^2 and \mathbb E f'=-\mathbb E[v\,h(s)] (the latter by Stein’s identity, i.e. integration by parts for a Gaussian), so N\,\mathrm{Var}=\frac{q\,\mathbb E\,h(s)^2}{(\mathbb E[v\,h(s)])^2}=\frac{q\,\mathbb E h^2}{(\mathbb E[\mathbb E[v\mid s]\,h])^2}\ \ge\ \frac{q}{\mathbb E\{(\mathbb E[v\mid s])^2\}}=\frac1{\bar g} by Cauchy–Schwarz, with equality iff h\propto\mathbb E[v\mid s]. For k=N(\mu,\tau^2), \mathbb E[v\mid s] is linear in s and the optimum is h\propto s+\sigma^2\mu/\tau^2: exactly (9.105), and \bar g=\frac1q\{\mu^2+q\tau^4/(q\tau^2+1)\} (at \tau\to0 this is \mu^2/q, the shared-v value of §1).

Comparing the estimators against this bound for several choices of k gives a clear picture. The bound is attained by the optimal h=\mathbb E[v\mid s], and for a Gaussian k the corrected (9.103) at (9.105) equals the bound while the printed one lies below it, which is impossible, so the printed formula is wrong. TLS (the MLE) is consistent but, for some k, far from efficient: when the nuisance values are widely spread TLS is nearly efficient, when they take just two atoms it loses a noticeable fraction, and when they are tightly clustered it can lose a lot. The gross average (constant h) is the opposite: good when the v_i are tight and poor when they are spread. The best linear member h(s)=s+c loses little in all of these cases.

Left: N times the variance of the root of the estimating equation with h(s) = s + c, plotted against c. Simulated points follow the corrected formula (9.103), a shallow bowl whose minimum touches the efficiency bound; the formula as printed lies below the bound over a wide range of c. The gross average appears as a horizontal line above the bowl. Right: efficiency of total least squares and of the gross average against the spread of the specimen weights; the two curves cross at a small spread, with total least squares better beyond it.

“Wide spread: TLS; tight: gross average.” TLS has variance (q\overline{v^2}+1)/\overline{v^2}^{\,2} and the gross average q/\bar v^2 per specimen; they are equal when qV(\bar v^2+V)=\bar v^2 with V=\operatorname{Var}v, which fixes a crossover spread \tau. Below it the gross average wins, above it TLS wins, and the best linear estimator is never worse than either. The book’s statement is right. A wrong k_1 (Theorem 9.6: “works well even for an approximate k_1”). Use h=\mathbb E_{k_1}[v\mid s] with k_1 different from the true k_0. Every choice is consistent, and the loss of efficiency is modest unless h is far from the shape of \mathbb E_{k_0}[v\mid s]: a Gaussian with the right mean and variance (the best linear h) does well, a Gaussian with the wrong mean or spread does about as well, and a point mass (the gross average) does much worse.

5.3 Scale problems (§9.5.3)

Accuracy of a scale. This is the box problem of §2: s=u\bar x, s'=s/u is a function of s, so the Corollary applies and \dot l_E=r'-\mathbb E[r'\mid s] is the orthogonal projection of \overline{x^2} off \bar x ((9.112); in (9.110) \bar x, \overline{x^2} are sums). (9.113), \frac1u-\frac1{m-1}(\overline{x^2}-\frac1m\bar x^2), has mean zero whatever the true box means are, and the efficient score proper is \frac{m-1}2 times it, with variance (m-1)/(2u^2), the efficient information; the bound for \sigma^2 is 2\sigma^4/(N(m-1)), which (9.114) attains. Slip: (9.107) writes the exponent as vs-\frac u2r-\psi while (9.109) defines r=-\frac u2\overline{x^2} already containing the factor; the form (9.81) needs +r. Unequal m_i (“we can solve the problem in a similar way”). The efficient scores add, so the efficient estimator is the pooled one, \sum W_i/\sum(m_i-1), not the plain average of the box estimators. Both are unbiased, but the pooled one has a clearly smaller variance when the box sizes differ a lot. Weight of a specimen with N scales of unknown accuracy. Here s=-\tfrac12\sum_j(x_j-u)^2=-Q/2, r=0, s'=S_1=\sum_j(x_j-u) with \mathbb E[S_1\mid Q]=0 (“s' orthogonal to s” means this, not zero covariance), and f=S_1h(s) (9.120). The estimator (9.121) is an implicit equation because the weights h(s_i) depend on u (solve it as a fixed point). Slips: (9.118) should have mu^2 in place of u^2 (and m for the upper limit k), and (9.120)–(9.121) use \bar x as the box mean while (9.110) defined a sum. Given Q, (x_j-u) has a uniform direction, so \mathbb E f^2=\mathbb E[Qh^2] and \mathbb E f'=-m\mathbb E h-2\mathbb E[Q\,dh/dQ]. Comparing three choices of weight for gamma-distributed precisions: the plain mean (h=1), the joint MLE (whose estimating function is h=1/Q), and the optimal h=\mathbb E[v\mid s]=(a+m/2)/(b+Q/2), for which \mathbb E f'=-\mathbb E f^2 as (9.68) demands. The optimum is best, and the “obvious” weights 1/Q of the MLE are consistent but worse than the plain mean here. The optimum depends on the unknown law of the precisions: “a complicated structure”, indeed.

5.4 Temporal firing pattern of a single neuron (§9.5.4)

In plain words. A neuron’s inter-spike intervals are gamma with shape \kappa (regular for large \kappa) and mean 1/v; the firing rate v drifts, and one wants \kappa. Put two consecutive intervals in a box that shares one v_k. The ratio D=T_1/(T_1+T_2) does not involve v at all (it is \mathrm{Beta}(\kappa,\kappa) whatever v is), so the efficient estimating function uses only D (others may also use the scale of the pair, but only through an ancillary part).

Checks. The efficient score (9.129) for m=2 is \log T_1+\log T_2-2\log(T_1+T_2)+2\phi(2\kappa)-2\phi(\kappa). The printed (9.130) defines \phi=\frac d{d\kappa}\Gamma(\kappa), but the digamma function is \frac d{d\kappa}\log\Gamma(\kappa). With the digamma the score has mean zero whatever the rate; with \Gamma' as printed it does not. With T_1=D, T_2=1-D the score is exactly the \kappa-derivative of \log\mathrm{Beta}(D;\kappa,\kappa): the estimating-function solution is the maximum likelihood estimator based on D alone, a marginal likelihood, and its efficient information is that of \mathrm{Beta}(\kappa,\kappa), \bar g=2\psi_1(\kappa)-4\psi_1(2\kappa) per box. This is what “S includes all the information” (9.132) means. With the rate known as one constant the information would be 2(\psi_1(\kappa)-1/\kappa), larger: not knowing the rates costs roughly half the information (the factor tends to \frac12 for large \kappa). The estimators. The efficient equation (9.131) (i.e. S=\phi(2\kappa)-\phi(\kappa)-\log2, S of (9.132)) and L_V of (9.133), \mathbb E L_V=3/(2\kappa+1), both settle on the true shape, even when the rate changes by a large factor between boxes. The joint MLE of \kappa and all rates settles on a value close to twice the truth, and a naive pooled gamma fit that ignores rate changes settles below the truth (rate changes read as irregularity). The joint MLE solves S=\log\kappa-\phi(\kappa) where the unbiased equation has \phi(2\kappa)-\phi(\kappa)-\log2; the gap is the Neyman–Scott bias. Its limit for m=2, divided by the true shape, is a bit under 2 for small \kappa and tends to 2 as \kappa grows.

Left: the limit of the joint maximum likelihood estimate of the gamma shape divided by the true shape, as a function of the true shape: a little below two for small shapes and tending to two for large shapes. Right: estimates of the shape as a fraction of boxes is replaced by an artefact of two nearly simultaneous spikes: the efficient statistic S falls steeply as the contamination grows, the robust statistic L_V much less.

S against L_V. L_V is also a function of D, so it is consistent for every rate; its asymptotic variance per box is \kappa(2\kappa+1)^2/(2\kappa+3) against 1/\bar g for S, so it is less efficient, and the loss shrinks as \kappa grows. The book’s remark that L_V “may be more robust” is right: the influence of one artefact box on S is -\tfrac12\log(4D(1-D)), unbounded as D\to0, but it is bounded for L_V. A small fraction of such boxes therefore moves S several times as far as L_V. Consecutive pairs. (9.132) sums over overlapping pairs (T_i,T_{i+1}), but the justification “v takes the same value for two consecutive times” holds only for the disjoint boxes. When the rate is constant on blocks of B intervals, disjoint pairs stay accurate while overlapping pairs are biased (a fraction 1/B of the pairs straddles a change): the overlapping version is right only when the rate changes slowly.

Checks of the book’s statements

Findings in the book’s text, in order of appearance, all confirmed by working them through (details in the sections above):

Questions and doubts

Takeaways

Term One line
nuisance parameter v in p(x;u,v); unknown, of no interest
efficient information, score \bar g_{ab}=g_{ab}-g_{a\kappa}g^{\kappa\lambda}g_{\lambda b}; \bar e_a=e_a-g_{a\lambda}g^{\lambda\kappa}e_\kappa
Neyman–Scott problem x_i\sim p(x;u,v_i) with a new v_i each time; joint MLE can be inconsistent
semiparametric model p_K(x;u,k)=\int p(x;u,v)k(v)dv: a parameter u and a function k; linear in k
estimating function \mathbb E_{u,v}f(x,u)=0 for all v, A=\mathbb E f'\ne0; \sum f(x_i,u)=0; N\mathrm{Var}=\mathbb E f^2/A^2
T_U,T_K,T_A tangent line of u; nuisance tangent space (m-invariant); ancillary space (orthogonal to both)
e-, m-transport r\mapsto r-\mathbb E_{k'}r; r\mapsto\frac{p_K(k)}{p_K(k')}r; dual, preserve \langle\cdot,\cdot\rangle
Theorems 9.5–9.6 estimating functions =\dot l_E+T_A; exist iff \dot l_E\ne0; best variance 1/(N\bar g)
exponential case p=\exp\{vs+r-\psi\}: T_K=\{h(s)\}, \dot l_E=\mathbb E[v\mid s]\{s'-\mathbb E[s'\mid s]\}+r'-\mathbb E[r'\mid s]
proportionality f=(y-ux)h(x+uy); TLS h=s, gross average h= const, best linear c=\bar v/\operatorname{Var}v
spike train S=-\frac12\overline{\log(4D(1-D))} efficient, L_V robust; joint MLE \to2\kappa

Notes written 2026-10-02.