Why First-Stage Error Matters
A second-stage estimator may use a regressor that is not directly observed but is constructed using estimates from a first stage. Examples include fitted values, estimated indices, and predictors formed from estimated parameters. Treating such a regressor as if it were known can conceal sampling uncertainty: the first-stage estimation error may contribute to the second-stage estimator at the same order as its own sampling error.
The key questions are separate. Does consistency of the first-stage estimate suffice for second-stage consistency? And, if both estimators converge at rate \(n^{-1/2}\), how does first-stage uncertainty change the second-stage limiting distribution? A stochastic expansion answers both, while making clear that a first-stage error need not matter at first order in every application.
A Two-Stage Setup and Its Expansion
For clarity, consider a scalar second-stage parameter \(\theta_0\) and a scalar generated regressor \(r_i(\gamma)\), where \(\gamma_0\) is an unknown first-stage parameter. The second-stage estimator solves the sample moment equation below. The observations are independent and identically distributed, and both stages use the same sample of size \(n\).
Write \(r_i=r_i(\gamma_0)\), \(D_i=\partial r_i(\gamma_0)/\partial\gamma\), and suppose the population moment satisfies \(E[r_i(Y_i-\theta_0r_i)]=0\). Assume the moment identifies \(\theta_0\), with \(A=E[r_i^2]>0\). The first-stage estimator is assumed consistent and asymptotically linear:
Here \(\phi_i\) is the first-stage influence contribution; it may be statistically dependent on the second-stage observation. Assume the generated regressor is differentiable near \(\gamma_0\), the sample moments and their derivatives obey laws of large numbers, and the relevant second moments are finite. These regularity conditions justify a first-order Taylor expansion and a joint central limit theorem.
Define the second-stage moment at the truth as \(\psi_i=r_i(Y_i-\theta_0r_i)\), and define \(B=E[D_i(Y_i-2\theta_0r_i)]\). The scalar \(B\) is the derivative of the population second-stage moment with respect to \(\gamma\), evaluated at \((\theta_0,\gamma_0)\). A first-order expansion gives:
The \(-A\) term is the derivative with respect to \(\theta\); the \(B\) term is the derivative with respect to the generated regressor's parameter. Rearranging and substituting the first-stage representation yields the second-stage expansion:
This variance includes the covariance between the two contributions. In particular, adding a second-stage variance to a first-stage variance while assuming independence is generally unjustified when the same observations enter both stages. If stages use independent samples, the covariance structure and sample-size scaling must instead reflect that design.
Consistency Is Not the Same as First-Order Negligibility
Consistency usually requires less than a root-\(n\) expansion. If \(\widehat\gamma\) converges in probability to \(\gamma_0\), \(r_i(\gamma)\) is sufficiently continuous in \(\gamma\), the sample moments converge to their population counterparts, and the population second-stage moment has a unique identified root at \(\theta_0\), then the second-stage moment evaluated at \(\widehat\gamma\) converges to the moment evaluated at \(\gamma_0\). With the usual separation and regularity conditions, its root \(\widehat\theta\) is consistent.
That argument does not establish that the first-stage error is negligible at the \(n^{-1/2}\) scale. In the expansion, its first-order effect is governed by \(B\). If \(B\ne 0\) and the first-stage estimator has a root-\(n\) error, that error contributes to the limiting variance. If the first stage converges more slowly than root-\(n\), its contribution can dominate the second-stage sampling error. If \(B=0\), the first-stage error has no first-order contribution under this expansion, though higher-order effects still require their own control.
Worked Example: A Generated Regressor with First-Stage Error
Consider a hypothetical calibration problem. The target regressor is \(X_i^\star=\gamma_0W_i\), with \(\gamma_0=2\). A noisy calibration measure is \(R_i=\gamma_0W_i+v_i\), and the outcome is \(Y_i=\theta_0\gamma_0W_i+u_i\), with \(\theta_0=1.5\). Estimate \(\gamma_0\) by regressing \(R_i\) through the origin on \(W_i\), set \(\widehat X_i=\widehat\gamma W_i\), and regress \(Y_i\) through the origin on \(\widehat X_i\).
For four hypothetical observations, take \(W=(1,-1,2,-2)\), \(R=(2.2,-1.8,3.6,-4.0)\), and \(Y=(4,-4,6.5,-6.5)\). Then \(\sum W_i^2=1+1+4+4=10\), and the first-stage estimate is:
The second-stage regression coefficient is \(\widehat\theta=\sum_i\widehat X_iY_i/\sum_i\widehat X_i^2\). Since \(\widehat X_i=\widehat\gamma W_i\), this simplifies to \(\widehat\theta=(\sum_iW_iY_i/\sum_iW_i^2)/\widehat\gamma\). Here \(\sum_iW_iY_i=4+4+13+13=34\), so:
The estimate differs from the target value \(1.5\), reflecting both the first-stage estimate and the finite-sample outcome variation. This computation also shows why simply treating the fitted regressor as known would omit a source of uncertainty.
Deriving the Joint Influence in a Calibration Example
The same calibration setup makes the first-stage contribution explicit. Let the first-stage regression error be \(v_i\), so that \(\widehat\gamma-\gamma_0=(\sum_i W_iv_i)/(\sum_iW_i^2)\). Let \(q=E[W_i^2]>0\). The second-stage coefficient can be written exactly as the outcome slope on \(W_i\), divided by \(\widehat\gamma\):
To obtain its first-order expansion, write the numerator as \(\theta_0\gamma_0+a_n\) and the denominator as \(\gamma_0+b_n\), where \(a_n=\sum_iW_iu_i/\sum_iW_i^2\) and \(b_n=\sum_iW_iv_i/\sum_iW_i^2\). Since both are \(O_p(n^{-1/2})\), the first-order ratio expansion is \((\theta_0\gamma_0+a_n)/(\gamma_0+b_n)=\theta_0+(a_n-\theta_0b_n)/\gamma_0+o_p(n^{-1/2})\). As \(\sum_iW_i^2/n\) converges to \(q\), this gives:
This expression shows that first-stage and second-stage errors combine within one influence contribution. Under \(E[W_i u_i]=E[W_i v_i]=0\), finite second moments, and a central limit theorem, the asymptotic variance is:
This variance formula is valid without imposing zero conditional means. If conditional means are nonzero, the variance includes their contribution through \(\operatorname{Var}\{W_i(u_i-\theta_0v_i)\}\); conditional variances alone do not determine it.
Worked Example: Conditional Moments and an Asymptotic Interval
Suppose, in a hypothetical population, \(q=E[W_i^2]=4\), \(\gamma_0=2\), and \(\theta_0=1.5\). Assume explicitly that \(E[u_i\mid W_i]=E[v_i\mid W_i]=0\), that \(\operatorname{Var}(u_i\mid W_i)=4\), \(\operatorname{Var}(v_i\mid W_i)=1\), and that \(\operatorname{Cov}(u_i,v_i\mid W_i)=0.5\) almost surely. These conditional mean assumptions ensure the conditional second moment of \(u_i-\theta_0v_i\) equals its conditional variance.
The conditional variance is \(4+(1.5)^2(1)-2(1.5)(0.5)=4.75\). Therefore \(E[W_i^2(u_i-\theta_0v_i)^2]=4(4.75)=19\), and the asymptotic variance is:
For illustration, suppose \(n=400\), and the estimated asymptotic variance is \(0.296875\), with a second-stage estimate of \(1.500\). The estimated standard error is \(\sqrt{0.296875/400}\approx0.02724\). A normal-approximation 95% confidence interval is:
Under the model and large-sample approximation, this procedure has approximately 95% coverage across repeated samples. The interval is in units of the second-stage coefficient. A valid standard error must account for the combined influence contribution, including the covariance between first- and second-stage errors; a variance estimate based only on the second-stage residuals may not do so.
When First-Stage Convergence Is Slower
A nonzero first-stage derivative can also change the rate of the second-stage estimator. In the calibration expansion, the first-stage contribution is proportional to \(\widehat\gamma-\gamma_0\). If that error is larger than order \(n^{-1/2}\), it can dominate the second-stage outcome noise.
Worked Example: A Slower First-Stage Rate
Suppose \(\theta_0=1.5\), \(\gamma_0=2\), and, in a hypothetical sequence of samples, \(\widehat\gamma-\gamma_0=0.2n^{-1/4}\). The leading first-stage effect in the calibration expansion is \(-(\theta_0/\gamma_0)(\widehat\gamma-\gamma_0)\). At \(n=10{,}000\), \(n^{-1/4}=0.1\), so the first-stage error is \(0.02\), and the leading effect on \(\widehat\theta\) is:
The ordinary second-stage sampling error is of order \(n^{-1/2}=0.01\), while the first-stage error is of order \(n^{-1/4}\), which is larger asymptotically. Thus a root-\(n\) normal approximation centered at \(\theta_0\) cannot be justified from the usual expansion with a root-\(n\) first stage. One must account for the slower first-stage rate or establish a condition that removes its first-order effect.
Common Pitfall: Using Conditional Variances Without Conditional Means
A tempting shortcut is to calculate a conditional variance and then treat it as the conditional second moment. That is correct only when the conditional mean is zero. In the calibration example, let \(Z_i=u_i-\theta_0v_i\). In general:
Consequently, the simplified variance based on conditional variances alone requires suitable conditional mean-zero restrictions, such as \(E[u_i\mid W_i]=E[v_i\mid W_i]=0\). Without them, use the variance of the full influence contribution, \(\operatorname{Var}\{W_i(u_i-\theta_0v_i)\}/(\gamma_0^2q^2)\), under the required unconditional moment and regularity conditions. Also distinguish conditional covariance from a conditional cross-moment: they are equal only when the relevant conditional means are zero.
For practical inference, estimate the variance of the full influence contribution, or use an equivalent joint sandwich calculation based on both stages. This retains any dependence between stages and avoids silently imposing assumptions that the data do not support.
Check Your Understanding
Use the expansion and assumptions in this tutorial to answer the following questions.
- In the general expansion, what does \(B\) measure, and what happens to the first-order contribution of \(\widehat\gamma\) when \(B=0\)?
- Why can a consistent first-stage estimator still affect the second-stage asymptotic variance?
- In the calibration example, which two error terms appear together in the influence contribution for \(\widehat\theta\)?
- What additional condition permits a conditional variance to be used as the conditional second moment?
- If a first-stage estimator converges at rate \(n^{-1/4}\) and its derivative contribution is nonzero, why may a root-\(n\) interval fail?