Prediction decomposition for causal analysis
Abstract
There is rising interest in using Machine Learning (ML) model predictions as outcomes in causal analysis. However, these methods have faced challenges in finding the true treatment effects. It is also challenging to make choices about which prediction models to choose, since we are interested not only in the accuracy of the prediction but in its ability to produce the correct causal effect in the analysis. In this paper I propose a decomposition of the prediction into between-unit prediction (), within-unit-across-time prediction (), and counterfactual-treatment-effect prediction (). I show that the counterfactual-treatment-effect component is the one that determines whether the model recovers the true treatment effect, but only the first two components can be estimated from non-experimental data. I argue that within-unit-across-time prediction accuracy () is a structurally better proxy for the counterfactual-treatment-effect component () than overall prediction accuracy, and propose a metric to estimate it from panel data with at least two time periods. This metric serves as a diagnostic and model-selection tool for choosing ML models for causal analysis. Under the stronger assumption that , it also enables constructing an approximately unbiased estimate of the treatment effect. I develop the theoretical framework and illustrate it with simulations of synthetic data.
Cite
@article{arxiv.2604.11168,
title = {Prediction decomposition for causal analysis},
author = {Ofir Reich},
journal= {arXiv preprint arXiv:2604.11168},
year = {2026}
}
Comments
22 pages, 7 figures