Tutorials › Propensity Score Matching and Instrumental Variables › Extreme Scores and Finite-Sample AIPW Instability

Doubly Robust Estimation · Tutorial 301 of 699

Extreme Scores and Finite-Sample AIPW Instability

Learn to identify how near-zero or near-one estimated treatment probabilities amplify AIPW residuals, assess the resulting instability, and distinguish it from failures of identification.

Advanced 12 min read

What You'll Learn

  • Write the AIPW estimator and identify its treatment-specific residual corrections.
  • Explain why extreme propensity scores magnify residual contributions in a finite sample.
  • Derive how the residual correction’s conditional variance depends on treatment probability.
  • Diagnose instability using individual contributions, score distributions, and weight summaries.
  • Distinguish finite-sample instability from violations of identification assumptions.
  • Recognize when binary outcomes do and do not bound fitted-model residuals.

Why Extreme Scores Can Destabilize AIPW

The augmented inverse probability weighted estimator (AIPW) combines outcome predictions with residual corrections weighted by estimated treatment probabilities. Those corrections help protect the average treatment effect (ATE) against certain nuisance-model errors, but their size depends directly on the propensity score. If an observed treated unit has an estimated treatment probability close to zero, its treated residual is divided by a small number. If an observed control unit has an estimated treatment probability close to one, its control residual is divided by a small number. Either event can make one observation exert a disproportionate influence on the estimate.

This is a finite-sample stability issue, not a guarantee that the estimator is biased in every sample or that the identification assumptions have failed. It is important, however, because a numerically computable AIPW estimate can be highly variable, sensitive to a few observations, or poorly approximated by routine standard-error calculations.

Estimator, Assumptions, and the Source of Amplification

Let \(A_i\) be a binary treatment, \(Y_i\) the observed outcome, and \(X_i\) the measured covariates for unit \(i\). Write \(e(X)=P(A=1\mid X)\) for the propensity score and \(m_a(X)=E[Y\mid A=a,X]\) for the outcome regression under treatment level \(a\). The AIPW estimator of the ATE, using fitted nuisance functions \(\hat e\) and \(\hat m_a\), is

$$ \hat{\tau}_{\mathrm{AIPW}}= \frac{1}{n}\sum_{i=1}^{n} \left[ \hat m_1(X_i)-\hat m_0(X_i) +\frac{A_i}{\hat e(X_i)}\{Y_i-\hat m_1(X_i)\} -\frac{1-A_i}{1-\hat e(X_i)}\{Y_i-\hat m_0(X_i)\} \right]. $$

The bracketed quantity is the unit’s AIPW contribution, sometimes called its pseudo-outcome. It contains a prediction contrast and two residual corrections. For a treated unit, only the treated correction is active; for a control unit, only the control correction is active.

Assumptions for a causal ATE interpretation: Consistency requires the observed outcome to equal the potential outcome under the treatment actually received, and the treatment and outcome definitions must be well-defined. Conditional exchangeability requires the potential outcomes to be independent of treatment given \(X\). Positivity requires \(0<e(X)<1\) over the covariate values in the target population. For stable large-sample behavior, one typically needs stronger control: the true scores should not approach zero or one too quickly, along with suitable moment and nuisance-estimation conditions. These assumptions identify the target; they do not ensure that a particular finite sample has stable estimated scores.

The residual corrections are amplified because the denominators are \(\hat e(X_i)\) for treated units and \(1-\hat e(X_i)\) for controls. A small denominator does not guarantee a large correction: the residual might be close to zero. But when a non-negligible residual occurs with a small denominator, the resulting term can be large.

A Variance Calculation Explains the Risk

The following calculation isolates the residual correction when the nuisance functions equal their true values. Conditional on \(X\), define the treated and control outcome variances as \(\sigma_1^2(X)=\operatorname{Var}(Y\mid A=1,X)\) and \(\sigma_0^2(X)=\operatorname{Var}(Y\mid A=0,X)\). Under exchangeability and positivity, the residual correction is

$$ R=\frac{A}{e(X)}\{Y-m_1(X)\} -\frac{1-A}{1-e(X)}\{Y-m_0(X)\}. $$

Its conditional mean is zero: for treated units the residual has conditional mean zero, as it does for controls. To calculate its conditional second moment, note that \(A(1-A)=0\), so the treated and control terms cannot both be nonzero for the same unit. Therefore,

$$ \begin{aligned} E[R^2\mid X] &=\frac{E[A\{Y-m_1(X)\}^2\mid X]}{e(X)^2} +\frac{E[(1-A)\{Y-m_0(X)\}^2\mid X]}{\{1-e(X)\}^2}\\ &=\frac{e(X)\sigma_1^2(X)}{e(X)^2} +\frac{\{1-e(X)\}\sigma_0^2(X)}{\{1-e(X)\}^2}\\ &=\frac{\sigma_1^2(X)}{e(X)} +\frac{\sigma_0^2(X)}{1-e(X)}. \end{aligned} $$

Since \(E[R\mid X]=0\), this second moment is also the conditional variance of \(R\). The \(1/e(X)\) and \(1/\{1-e(X)\}\) factors show why residual variability can become large near the score boundaries, even with correctly specified nuisance functions. This calculation concerns the residual component under true nuisance functions; with estimated functions, the exact finite-sample behavior also depends on their errors and on how the scores were estimated.

Worked Example: Comparing Residual Variability at Different Scores

Suppose, at a particular covariate value, the treated outcome is binary with mean \(m_1(X)=0.20\). Its conditional variance is \(0.20(1-0.20)=0.16\). Consider the treated residual contribution \(A\{Y-m_1(X)\}/e(X)\). Its conditional mean is zero, and its conditional variance is \(\sigma_1^2(X)/e(X)\).

If \(e(X)=0.05\), the variance is

$$ \frac{0.16}{0.05}=3.20. $$

If instead \(e(X)=0.50\), with the same conditional outcome variance, it is

$$ \frac{0.16}{0.50}=0.320. $$

Thus the treated residual contribution has ten times the conditional variance at score \(0.05\) as at score \(0.50\). This comparison is not a claim that every observation at the lower score produces a large correction: it describes conditional variability across repeated treatment and outcome realizations.

Worked Contributions Show Finite-Sample Instability

Worked Example: A Few Extreme Scores Dominate the Estimate

Consider four hypothetical units with binary outcomes. Suppose the fitted outcome predictions are constrained to the interval from zero to one, and the estimated scores and observed data are as shown. The numbers \(q_i\) are their AIPW contributions.

Unit\(A_i\)\(Y_i\)\(\hat e(X_i)\)\(\hat m_1(X_i)\)\(\hat m_0(X_i)\)
1110.020.400.30
2000.400.600.20
3100.700.500.40
4010.980.700.60

For unit 1, the prediction contrast is \(0.40-0.30=0.10\), and the treated residual correction is \((1-0.40)/0.02=30\). Thus \(q_1=30.10\).

For unit 2, the contrast is \(0.60-0.20=0.40\). Its control correction is \(-\{0-0.20\}/(1-0.40)=0.3333\), so \(q_2=0.7333\).

For unit 3, the contrast is \(0.50-0.40=0.10\), and the treated correction is \((0-0.50)/0.70=-0.7143\). Thus \(q_3=-0.6143\).

For unit 4, the contrast is \(0.70-0.60=0.10\), and the control correction is \(-\{1-0.60\}/(1-0.98)=-20\). Thus \(q_4=-19.90\).

The estimate is the average of the contributions:

$$ \hat{\tau}_{\mathrm{AIPW}} =\frac{30.10+0.7333-0.6143-19.90}{4} =2.580\ \text{outcome units}. $$

The large positive and negative terms arise from a treated unit with a score near zero and a control unit with a score near one. Their partial cancellation does not make the estimate stable: a change in either outcome or fitted score could substantially change the average. The estimate also lies outside the range of a binary-outcome ATE, which must be between \(-1\) and \(1\). This is possible for the finite-sample AIPW formula and is a warning about instability, not evidence that the causal ATE itself can exceed those bounds.

Diagnostics: Find the Influential Terms

A useful diagnostic examines the components of the estimator rather than relying only on a summary of the propensity-score distribution. For each unit, calculate or inspect the treated correction \(A_i\{Y_i-\hat m_1(X_i)\}/\hat e(X_i)\), the control correction \(-(1-A_i)\{Y_i-\hat m_0(X_i)\}/\{1-\hat e(X_i)\}\), and the full contribution \(q_i\). Look for large absolute values, a small number of terms dominating the sum, and sensitivity of the estimate to individual observations.

Also inspect the estimated-score distribution separately among treated and control units. A treated unit with a very small score and a control unit with a very large score are the direct sources of large inverse-probability factors. The score extremes in the other treatment group still signal sparse covariate overlap and can indicate that comparable observations are scarce. Check that the extreme scores and covariate patterns are not caused by coding errors, separation, or unstable model fitting. If using a flexible fit, review how predictions were obtained and whether the fitting procedure produces scores extremely close to zero or one.

Weight summaries can add context. For example, for treated units with weights \(w_i=1/\hat e(X_i)\), the quantity \((\sum_{A_i=1}w_i)^2/\sum_{A_i=1}w_i^2\) summarizes how concentrated those weights are; an analogous calculation applies to controls with weights \(1/\{1-\hat e(X_i)\}\). Such summaries do not replace inspection of residual contributions: a large weight paired with a near-zero residual may have little direct effect on this particular estimate.

A binary outcome does not automatically make the fitted residual bounded by one. If \(Y\) is binary and the fitted mean is constrained to \([0,1]\), then \(|Y-\hat m_a(X)|\leq 1\). But an unconstrained outcome model can predict outside that interval, in which case the residual need not have that bound. Even when the residual is bounded, division by a very small score can still yield a large correction.

Worked Example: Checking the Residual-Bound Claim

Suppose \(Y=1\) for a treated unit and the fitted treated mean is \(\hat m_1(X)=1.40\), as might occur with an unconstrained linear prediction. If its estimated propensity score is \(0.01\), its residual correction is

$$ \frac{1}{0.01}\{1-1.40\} =100(-0.40) =-40. $$

The residual magnitude is \(0.40\), not more than one in this particular calculation, but the fitted value is outside the probability range and the residual is not guaranteed to be bounded by one. For example, if the fitted mean were \(2.00\), the residual would be \(-1.00\), and the same score would produce a correction of \(-100\). By contrast, with a binary outcome and a fitted mean constrained to \([0,1]\), the residual magnitude cannot exceed one; however, a score of \(0.01\) can still magnify a residual of \(0.40\) to a correction of magnitude \(40\).

What Instability Is—and Is Not

Extreme estimated scores can arise even when the population satisfies positivity: a finite sample may contain few observations in a covariate region, and an estimated model may return predictions near the boundaries. If the true treatment probability is zero or one for a target-population covariate pattern, that is a positivity violation and the causal contrast is not identified there from the observed data without additional assumptions. A large correction alone does not prove such a violation; it signals a need to investigate overlap, model fitting, and the target population.

Double robustness is not protection against this problem. Under its standard conditions, AIPW can be consistent if either the propensity model or the outcome model is correctly specified, but this property does not ensure small finite-sample variance, prevent extreme fitted scores, or guarantee reliable normal approximations. Likewise, an influence-function standard error can be large when contributions are extreme, but a conventional standard error does not repair weak overlap or undue sensitivity to a few observations.

The main alternatives have different tradeoffs. Outcome-regression estimation avoids inverse-score residual corrections but depends more directly on outcome-model extrapolation in sparse regions. Inverse-probability weighting uses inverse scores without the AIPW prediction augmentation, so it can also be sensitive to extreme weights. Matching seeks comparable units but may discard observations or change the effective target population. None creates information where treatment groups scarcely overlap. Any modification of extreme weights or scores changes the procedure and may trade variance for bias; that decision requires explicit consideration rather than treating a numerical cap as a harmless repair.

Common Mistakes

  • Assuming double robustness guarantees stability. It addresses consistency under specified nuisance-model conditions, not the size of finite-sample residual corrections.
  • Calling every extreme fitted score a positivity violation. A fitted score is an estimate. Investigate the covariate support and fitting behavior before making a claim about the true treatment mechanism.
  • Checking scores but not contributions. The residual determines whether an extreme inverse factor actually produces a large term. Inspect both.
  • Assuming a binary outcome always gives a residual bounded by one. That bound requires the fitted mean to lie in \([0,1]\). Unconstrained fitted values can fall outside that range.
  • Treating a large AIPW estimate as a plausible effect just because the formula produced it. For a binary outcome, an ATE must lie between \(-1\) and \(1\); a finite-sample estimate outside this range can reveal instability.
Key takeaway: Extreme estimated propensity scores can magnify AIPW residuals and make a few observations dominate a finite-sample estimate. Assess the scores, residual corrections, and full unit contributions together; distinguish numerical instability from a genuine positivity failure.

Check Your Understanding

Answer each question, then compare with the solutions below.

  1. Which denominator amplifies the residual correction for an observed treated unit? Which one applies to an observed control?
  2. At a fixed covariate value, suppose \(\sigma_1^2(X)=0.12\) and \(e(X)=0.04\). What is the conditional variance of the treated residual contribution under the true nuisance functions?
  3. For a binary outcome, is \(|Y-\hat m_a(X)|\leq1\) guaranteed if the fitted mean is unconstrained?
  4. Does an estimated score of \(0.005\) by itself prove a population positivity violation? Explain.
  5. Why can an AIPW estimate for a binary-outcome ATE fall outside \([-1,1]\) in a finite sample?

Solutions. (1) For a treated unit the denominator is \(\hat e(X_i)\); for a control it is \(1-\hat e(X_i)\). (2) The variance is \(\sigma_1^2(X)/e(X)=0.12/0.04=3.00\). (3) No. An unconstrained fitted mean can lie outside \([0,1]\), so the residual need not be bounded by one. The bound holds when the fitted mean is constrained to that interval. (4) No. The estimate may reflect a finite sample or model-fitting behavior; inspect the covariate support and treatment mechanism before concluding positivity fails. (5) The sample average combines prediction contrasts with inverse-score-weighted residuals, which can be large and can drive the average beyond the parameter’s possible range even though the true binary-outcome ATE lies within it.

Clinical Biostats