How Wrong Can Your Counterfactual Be? Quantifying Confounding Bias for Continuous Treatments without a Control Group
Authors: Yu Wang, Xiangchen Liu, Siguang Li
Organizations: Department of Economics, Cornell University. · Department of Family and Consumer Sciences, California State University, Long Beach. · Society Hub, Hong Kong University of Science and Technology (Guangzhou).
Stress testing poses a causal question: how would portfolio credit losses change if the macroeconomy followed an adverse counterfactual path? Yet standard practice remains predictive and might be therefore vulnerable to omitted-variable bias. We propose a partial identification framework for causal stress testing in panel data with a continuous common treatment and no control group. By assuming that the unobserved confounder affects outcome and macro variables additively, we derive a closed-form confounding envelope parameterized by two interpretable sensitivity parameters. We further analyze two practical estimators -- recursive rollout and direct multi-horizon prediction -- derive non-asymptotic error bounds, and characterize when recursive compounding makes direct estimation preferable. For inference, we combine the identification envelope with importance-weighted conformal prediction, yielding finite-sample intervals that separate estimation uncertainty from identification uncertainty under covariate shift. In semi-synthetic experiments built from real U.S. unemployment paths, standard high-accuracy predictive models remain causally biased and substantially under-cover, whereas the proposed framework achieves near-nominal coverage across stress horizons.
Figure 1: Silent failure of predictive stress testing. Top: Population-level confounding bias ( γA=0.5 ); μ12∗ is invariant to γY while μ12 rises linearly. Middle: Oracle rollout at γ=0.5 ; causal truth μh∗ lies 58–212 SE outside the predictive band. Bottom: Backtesting R2 is flat (0.974 → 0.957) while c12 jumps from 0 to 0.61.
Figure 2: Coverage heatmaps at γ=0.4 , nominal 90%. Left: linear DGP + OLS (5 methods). Right: nonlinear DGP + MLP (3 methods). Ours (full) is the only method achieving 100% across all horizons (linear) or ≥90% at short horizons (nonlinear).
Figure 3: CI half-width decomposition at γ=0.5 . Blue: qhw (estimation + reweighting). Red: ch (identification). (a) Linear DGP: ch 78% at h=1 . (b) Nonlinear DGP: same ch , larger qhw .
Figure 4: NFCI-calibrated coverage ( γA=γY=0.091 , nominal 90%). Left : linear DGP + OLS. Right : nonlinear DGP + MLP. All confounder parameters estimated from NFCI. Ours (full) is the only method with coverage ≥90% under NFCI-calibrated confounding.
Prediction error is widely used to evaluate nuisance-function estimators in causal inference, but its relationship with the performance of the resulting causal estimator is not well understood. We studied this question in a partially linear model using Monte Carlo simulations, comparing ordinary least squares (OLS), generalized additive models (GAMs), XGBoost, and Double Machine Learning with XGBoost (DML-XGBoost) with independent and with clustered observations. We evaluated nuisance-function prediction error, bias, RMSE, and 95% confidence interval coverage, and derived the second-order remainder through which errors in the exposure and outcome nuisance functions jointly determine the bias of the residualized estimator. When all methods estimated the causal effect from the same training sample, DML-XGBoost had the lowest RMSE and the highest coverage among the non-oracle methods, although XGBoost fitted to the full training sample had lower out-of-sample prediction error for both nuisance functions. GAMs had the lowest prediction error of all methods but were biased, with coverage of 0.55 with independent observations. The remainder reproduced the average bias of OLS, GAMs, and DML-XGBoost, but only half to three-quarters of the bias of XGBoost, whose residuals were formed on the data used to fit it. A joint-error measure based on the absolute cross-product of the two nuisance errors was only weakly associated with causal bias. Prediction error is useful for assessing nuisance-function estimation, but it should not be treated as a direct measure of the quality of the resulting causal estimator.
Cong Cao
Department of Biostatistics, Yale University, New Haven, CT 06520, USA
Data-driven decision making frequently relies on predicting counterfactual outcomes. In practice, researchers commonly train counterfactual prediction models on a source dataset to inform decisions on a possibly separate target population. Conformal prediction has arisen as a popular method for producing assumption-lean prediction intervals for counterfactual outcomes that would arise under different treatment decisions in the target population of interest. However, existing methods require that every confounding factor of the treatment-outcome relationship used for training on the source data is additionally measured in the target population, risking miscoverage if important confounders are unmeasured in the target population. In this paper, we introduce a computationally efficient debiased machine learning framework that allows for valid prediction intervals when only a subset of confounders is measured in the target population, a common challenge referred to as runtime confounding. Grounded in semiparametric efficiency theory, we show the resulting prediction intervals achieve desired coverage rates with faster convergence compared to standard methods. Through numerous synthetic and semi-synthetic experiments, we demonstrate the utility of our proposed method.
Keith Barnatchez, Kevin P. Josey, Rachel C. Nethery +1
Department of Biostatistics, Harvard T.H. Chan School of Public Health · Department of Biostatistics and Informatics, Colorado School of Public Health · Department of Data Science, Dana Farber Cancer Institute
Conformal counterfactual prediction constructs prediction sets with finite-sample coverage guarantees for counterfactual outcomes and individual treatment effects under the no-interference assumption. In this work, we relax this assumption by allowing each unit's potential outcomes to depend on other units' treatments and covariates. In this setting, propensity-score reweighting does not restore weighted exchangeability, and existing methods may fail to achieve valid coverage. To address this issue, we develop interference-adjusted weighted conformal prediction that accounts for interference by constructing an observable upper bound on the ideal and unobserved conformal p-value under the target intervention. The resulting prediction sets provide finite-sample marginal coverage guarantees for counterfactual outcomes and individual treatment effects in both transductive and inductive settings. We also derive a sharper construction when intervention-induced changes in nonconformity scores are bounded. Numerical experiments show that our methods preserve nominal coverage, whereas existing methods may not.
Matteo Zecchin, Osvaldo Simeone
Communication Systems Department, EURECOM, Sophia Antipolis, France · Institute for Intelligent Networked Systems (INSI), Northeastern University London, London, UK