Below is a full article crafted from the provided content, with improved structure and flow, followed by an FAQ section and a concise conclusion.
—
## Choosing Covariates for Causal Adjustment Isn’t as Simple as It Seems
Estimating causal effects from data might sound straightforward—just throw in all relevant variables and adjust for them—but in practice, selecting which covariates to include is a major source of bias. A naive focus on predictive accuracy leads directly to biased effect estimates. This article outlines why, how, and what to do about it.
### The Wrong Goal: Prediction vs. Causal Estimation
When we model an outcome, traditional criteria like BIC, AIC, stepwise selection, or LASSO optimize for predictive performance. That’s a dangerous setup for causal inference because **a great predictive model can still produce a biased causal estimate**.
The core issue, termed **adjustment uncertainty** by Wang, Parmigiani, and Dominici (2012), is simple: some variables strongly predict the outcome but are irrelevant for confounding adjustment, while others are crucial confounders that look weak in outcome-only models. If we select variables based purely on outcome fit, we risk omitting key confounders—and biasing our effect estimate.
### Why Predictors and Confounders Differ
Confounders must be associated with both exposure and outcome. However:
– **Predictors** are selected for how much variance they explain in the outcome.
– **Confounders** often sit upstream, influencing exposure and independently influencing outcome.
A classic problematic variable is **U2** in the illustrative example:
– It has a strong association with exposure
– Its association with outcome is weak
To a predictive model, U2 looks nearly useless. To a causal model, omitting it creates **omitted variable bias** that contaminates the exposure effect. The math is simple:
Bias ≈ β_outcome × β_exposure_on_covariate
Even if β_outcome is small, a strong exposure link can yield large bias. Standard model selection criteria ignore this second term entirely—leading to silent but serious errors.
### A Concrete Failure Mode in Python
Below is a minimal Python example that reproduces the issue:
“`python
import numpy as np
import pandas as pd
import statsmodels.api as sm
rng = np.random.default_rng(11)
n, M = 1000, 5
U = rng.normal(size=(n, M))
X = U[:, 0] + U[:, 1] + 0.1 * U[:, 2] + rng.normal(size=n)
Y = 0.1 * X + U[:, 0] + 0.1 * U[:, 1] + U[:, 2] + U[:, 3] + rng.normal(size=n)
cols = [f”U{j+1}” for j in range(M)]
df = pd.DataFrame(U, columns=cols)
df[“X”] = X
df[“Y”] = Y
def fit_outcome(includes):
features = [“X”] + [c for c, inc in zip(cols, includes) if inc]
return sm.OLS(df[“Y”], sm.add_constant(df[features])).fit()
full = fit_outcome((1, 1, 1, 1, 0)) # includes U1–U4
reduced = fit_outcome((1, 0, 1, 1, 0)) # drops U2
print(“Full model β̂:”, round(full.params[“X”], 3), “CI:”, tuple(round(x, 3) for x in full.conf_int().loc[“X”]))
print(“Reduced model β̂:”, round(reduced.params[“X”], 3), “CI:”, tuple(round(x, 3) for x in reduced.conf_int().loc[“X”]))
“`
Results:
– Full model: β̂ = 0.144, 95% CI contains true value 0.1
– Reduced model: β̂ = 0.171, 95% CI excludes 0.1
Ironically, the reduced model has a **better BIC**, showing how predictive criteria mislead us when the goal is causal inference.
### Bayesian Model Averaging Also Fails
Even averaging across many models does not rescue us if the weighting scheme relies solely on outcome fit. In the example, Bayesian Model Averaging (BMA) assigned most weight to the misspecified model, producing a biased estimate. This happens because **weights inherit the same predictive bias**.
### The BAC Solution: Ask the Exposure Model
**Bayesian Adjustment for Confounding (BAC)** addresses this by introducing an exposure model:
– Outcome model: Y ~ X + covariates
– Exposure model: X ~ covariates
By linking the two, BAC uses a dependence parameter **ω** to control how strongly exposure-driven selection influences outcome adjustment:
– ω = 1: Models are independent (standard BMA)
– ω → ∞: Every covariate that affects exposure is forced into the outcome model
This aligns with causal intuition: if a variable predicts treatment assignment, it should be included to avoid confounding—unless it’s an instrument.
### Instruments Look Like Confounders—And That’s a Problem
The gravest pitfall of “adjust for anything that predicts exposure” is **instrumental variables masquerading as confounders**.
Consider:
– Z influences X but has no direct effect on Y (valid instrument)
– UC is an unmeasured confounder
Adjusting for Z actually **amplifies bias**, sometimes dramatically. With strong instrument-outcome associations, naïve adjustment pushed bias from +0.33 to +0.50—even though Z and the confounder are statistically indistinguishable in the exposure model.
This shows that **ω cannot be estimated from data alone**. It represents a causal assumption we must make consciously, not a hyperparameter to tune.
### Three Approaches, One Core Idea
1. **Post-double-selection** (Belloni et al., 2014)
– Run LASSO on Y and on X
– Union selected variables and fit OLS
– Helps, but still risks over-reliance on predictive signals
2. **Double/debiased machine learning** (Chernozhukov et al., 2018)
– Generalizes the two-model strategy
– Uses nuisance models for X and Y, then regresses residuals
– Flexible and robust, consistently estimates the causal effect
3. **Outcome-adaptive LASSO** (Shortreed & Ertefaie, 2017)
– Penalizes variables that predict exposure weakly
– Inverse philosophy to BAC: assumes instruments are the bigger threat
– Rational in some settings, but shifts rather than removes bias
All three approaches agree on one point:
> Predictive model selection cannot substitute for causal reasoning.
### Key Takeaways
1. **Do not rely solely on BIC, AIC, LASSO, or stepwise selection** for causal adjustment. They optimize the wrong objective.
2. **Always fit an exposure model**. It is cheap, transparent, and reveals which variables are truly central to treatment assignment.
3. **Think before you adjust**. Some strong exposure predictors are protective against bias—others amplify it. Instrument versus confounder distinction is critical and unidentifiable.
4. **Embrace uncertainty**. Model-based confidence intervals that ignore selection uncertainty are overconfident.
### The Bottom Line
Causal inference asks a different question than prediction: *What would happen if we changed X?* That question requires assumptions that no amount of data or model fitting can reveal. Knowing which variables to adjust for is less a statistical procedure and more a reasoned causal judgment—augmented by tools like BAC, double selection, and DML, but never fully replaced by them.
—
## FAQ
**Q: Why can’t I just use LASSO or stepwise regression to choose covariates?**
A: These methods optimize predictive accuracy, not causal correctness. A variable that is irrelevant for predicting Y might still be essential for removing confounding. Optimizing for prediction can systematically remove true confounders and bias effect estimates.
**Q: What is adjustment uncertainty?**
A: Adjustment uncertainty refers to the uncertainty about which covariates should be included in a causal model to estimate a treatment effect. Different valid adjustment sets can lead to different estimated effects, and standard model selection tools ignore this uncertainty.
**Q: How does Bayesian Adjustment for Confounding (BAC) work?**
A: BAC combines an outcome model and an exposure model using a weighting parameter ω. As ω grows, any covariate that predicts exposure is forced into the outcome model, mimicking the logic of “adjust for confounders.” This captures model uncertainty while respecting causal structure.
**Q: Are propensity scores immune to these issues?**
A: No. Propensity score methods rely on correctly specifying which covariates predict treatment and affect outcome. If weakly associated confounders are omitted, bias remains; if instruments are incorrectly included, bias can amplify.
**Q: Should I always include every variable that predicts exposure?**
A: Not without asking whether it also has a direct path to the outcome. Variables that affect exposure but not outcome can be valid instruments—and adjusting for them can increase bias rather than reduce it.
**Q: Can I estimate how sensitive my results are to covariate selection?**
A: Yes. Methods like sensitivity analyses for unmeasured confounding or Bayesian model averaging with priors over model space can quantify how robust your findings are to different adjustment choices.
—
## Conclusion
Choosing which variables to adjust for in causal inference is not a technical formality—it’s a conceptual decision with major implications. Predictive criteria alone cannot guide this choice, as they ignore the causal pathways that matter most. Methods like BAC, double selection, and double machine learning offer principled ways to incorporate model uncertainty, but they cannot remove the need for judgment. Understanding the relationship between confounding, instruments, and selection is essential—and ultimately, no statistical algorithm can replace it.



