Doubly Robust Estimation in Education Research

Statistics
Introduced by
Robins, Rotnitzky & Zhao (1994); Bang & Robins (2005)
Year
1994-2005
Type
Causal inference / semiparametric estimator
Family
Quasi-experimental / causal inference

What does it do?

Doubly robust (DR) estimation is a semiparametric approach to causal inference that combines a model for the outcome with a model for treatment receipt (the propensity score).

In education research, it can be used to estimate the effect of programs, interventions, or policies on student outcomes when students were not randomly assigned, provided that rich observed covariates are assumed to capture the selection into treatment. The estimator is consistent if either, but not necessarily both, of the two component models is correctly specified.

The intuition behind the method

Educational programs are seldom assigned at random, so treated and comparison students often differ before treatment begins. DR estimation fits two models: one predicting the outcome, such as a test score, from treatment status and covariates, and one predicting the probability of treatment from the same covariates. The two are combined so that errors in one model are corrected by information from the other. The practical benefit is double robustness: if either model is correctly specified, the estimate converges to the true effect as the sample grows, so the analyst has two chances to get the model right. This does not remove the need to assume that all relevant confounders are observed.

History

The formulation of doubly robust estimation comes from the missing-data and causal-inference literature. Bang and Robins (2005) constructed doubly robust estimators for ignorable missing data and causal inference models. In a causal inference model, their estimator remains consistent when either a model for the treatment assignment mechanism or a model for the counterfactual data is correctly specified. Their simulation studies indicated that finite-sample performance is in line with theory, and they applied the method to a cardiovascular clinical trial. Education applications adapt this general framework to school-based data.

When to use it

Choose doubly robust estimation when treatment was not randomly assigned, the covariates that drive selection into treatment are well measured, and you want protection against misspecifying either the outcome model or the propensity model. It suits evaluations of school programs, tutoring, curriculum reforms, or teacher training when student-level or school-level covariates are available. Do not use it when treatment selection depends on unmeasured factors such as motivation; an instrumental variable, regression discontinuity, or difference-in-differences design may then be more appropriate. Use caution in very small samples, where estimation of the propensity model is unstable and the estimator can be highly variable, and when the propensity scores of treated and comparison students barely overlap.

Limitations and considerations

  • Double robustness protects against misspecification of one component at a time; if both the outcome model and the propensity model are wrong, the estimate can be biased.
  • Requires strong ignorability (no unmeasured confounding): all variables that jointly affect treatment receipt and the outcome must be observed and included.
  • Poor overlap, where some students have propensity scores near 0 or 1, produces extreme inverse-propensity weights and unreliable estimates; trimming or overlap weighting may then be necessary.
  • More complex to implement and to explain to non-technical audiences, such as school boards or policymakers, than regression adjustment or propensity matching.
  • With small samples, noisy propensity estimates can make the estimator highly variable, so confidence intervals may be wide.

Source conditions do not replace independent scientific review or validation by an analysis engine.

Strengths

  • Consistent if either the outcome model or the propensity model is correctly specified, so a wrong functional form in one component does not by itself bias the estimate.
  • Uses covariate information in both the outcome and treatment models, which is useful when administrative records supply many student and school characteristics.
  • Allows flexible, machine-learning component models; when such learners are used, cross-fitting (sample splitting) is recommended to limit the overfitting bias they can pass into the estimator.
  • Can be applied within subgroups defined by school type, demographics, or baseline achievement to examine whether effects differ across students.

Applications

  • Illustrative question: whether pre-K attendance affects kindergarten readiness scores, using administrative records that include prior achievement and family characteristics.
  • Illustrative question: the effect of a teacher professional development program on student reading achievement, using observational school data that record prior achievement.
  • Illustrative question: the effect of class size reduction on standardized test outcomes across districts that differ in demographic composition, with district and student covariates included in both component models.
  • Illustrative question: the effect of access to after-school tutoring on high school graduation, using longitudinal student-level data and explicitly stated causal assumptions.
  • Illustrative question: the effect of magnet school enrollment on academic and behavioral outcomes, adjusting for baseline student characteristics in both component models.

How it works

How it works

1

Fit two regressions of the outcome Y (for example, a test score or a graduation indicator) on covariates X. The function μ1(x) = E[Y | A=1, X=x] is estimated from the treated students, and μ0(x) = E[Y | A=0, X=x] is estimated from the comparison students. Predictions from these fits give the expected outcome under each treatment condition for every student in the sample.

Formula
\hat{\mu}(x) = \hat{E}[Y \mid A=a, X=x]
2

Fit a model for the probability that each student received treatment given X, typically logistic regression or, as an alternative, a machine learning classifier. The estimated propensities must lie strictly between 0 and 1 for the weights in the next step to be defined, and values close to the boundaries make those weights unstable.

Formula
\hat{\pi}(x) = \hat{P}(A=1 \mid X=x)
3

Combine the two models using the augmented inverse-probability weighting (AIPW) formula shown in the mechanics. The inverse-propensity terms reweight the observed outcomes, and the outcome-model residuals augment that term. The displayed formula is the average treatment effect (ATE) form, so the sample mean of its terms gives the ATE estimate. Estimating the effect on the treated requires a different weighting and is not covered by this formula.

Formula
\hat{\tau}_{DR} = \frac{1}{n}\sum_{i=1}^{n}\left[\frac{A_i(Y_i - \hat{\mu}_1(X_i))}{\hat{\pi}(X_i)} - \frac{(1-A_i)(Y_i - \hat{\mu}_0(X_i))}{1-\hat{\pi}(X_i)} + \hat{\mu}_1(X_i) - \hat{\mu}_0(X_i)\right]
4

Re-estimate the effect under alternative specifications of each component model, such as a simpler and a more flexible outcome model or a different set of propensity covariates. Stable estimates are reassuring, but they do not show that either model is correctly specified and cannot detect unmeasured confounding.

5

Obtain standard errors with the sandwich estimator or the bootstrap, and report a confidence interval alongside the estimate. When students are nested in schools or classrooms, the standard errors should reflect that clustering, because outcomes of students in the same school are unlikely to be independent.

Common pitfalls

  • Leaving out important confounders, such as prior achievement or socioeconomic status, from both models; consistency then fails regardless of which model is correctly specified.
  • Proceeding without checking overlap, so that a few students with propensity scores near 0 or 1 receive extreme weights that dominate the estimate.
  • Fitting flexible learners on the full sample without cross-fitting, which can carry overfitting bias into the DR estimator.
  • Treating consistency as accuracy: with a modest sample, a consistent estimator can still be substantially biased.
  • Reporting a single average effect without examining heterogeneity across subgroups such as school type or baseline achievement.

Frequently asked questions

What does 'doubly robust' mean in practice?

It means the estimator remains consistent if either the outcome regression model or the propensity score model is correctly specified, but not necessarily both. Because the true data-generating process is rarely known in education research, this protects against one source of modeling error, but it does not replace careful covariate selection.

How does this differ from simply using propensity score matching?

Propensity score matching relies on the propensity model alone for adjustment, so it is sensitive to misspecification of that model. DR estimation adds an outcome regression, so it remains consistent if the outcome model is correct even when the propensity model is imperfect. The two approaches are not guaranteed to give identical results in a finite sample.

Can I use machine learning to estimate the component models?

Yes. When flexible learners are used for the component models, cross-fitting (sample splitting) is recommended: fit each component model on one part of the data and predict on another, so that the same observations are not used both to fit and to predict.

What sample size is needed for reliable estimates in education studies?

There is no fixed minimum sample size that guarantees reliable estimates. Small samples make propensity estimates unstable, and clustered designs need enough schools or classrooms to support cluster-robust inference as well as enough overlap for stable weights. In very small studies, simpler methods may give more stable estimates.

What if I suspect unmeasured confounding, such as student motivation?

DR estimation does not address unmeasured confounding. If motivation or family involvement affects both program participation and outcomes, the ignorability assumption fails. This is a problem of identification rather than of model choice, so a more flexible model will not fix it. Consider instrumental variables, a regression discontinuity design, or difference-in-differences where a credible identifying source is available.

Related methods

Sources

  1. Bang, H., & Robins, J. M. (2005). Doubly Robust Estimation in Missing Data and Causal Inference Models. Biometrics, 61(4), 962-973.

    Open DOI reference
  2. Karim, M. E., Petkau, J., Gustafson, P., Tremlett, H., & BeAMS Study Group. (2018). Comparison of statistical approaches dealing with time-dependent confounding in drug effectiveness studies. Statistical Methods in Medical Research, 27(6), 1709-1722.

    Open DOI reference