MPIDR Working Paper
A generalized counterfactual approach to decomposing differences between populations
MPIDR Working Paper WP-2019-004, 49 pages.
Rostock, Max Planck Institute for Demographic Research (February 2019)
Revised October 2020.
One key objective of the population health sciences is to understand why one social group has different levels of health and well-being compared to another. While several methods have been developed in economics, sociology, demography, and epidemiology to answer these types of questions, a recent method introduced by Jackson and VanderWeele (2018) provided an update to decompositions by anchoring them within causal inference theory. In this paper, we demonstrate how to implement the causal decomposition using Monte Carlo integration and the parametric g-formula. Causal decomposition can help to identify the sources of differences across populations and provide researchers a way to move beyond estimating inequalities to explaining them and determining what can be done to reduce health disparities. Our implementation approach can easily and flexibly be applied for different types of outcome and explanatory variables without having to derive decomposition equations and can also decompose functions of outcomes, such as period life expectancy, that are not based around a simple comparison of means or proportions. We describe the concepts of the approach and the practical steps and considerations needed to implement it. We then walk through a worked example where we investigate the contribution of smoking to sex differences in mortality in South Korea using two different outcomes and contrasts: the age-adjusted mortality risk ratio and the absolute difference in period life expectancy. For both examples, we provide both pseudocode and R code using our package, cfdecomp. Ultimately, we outline how to implement a very general decomposition algorithm that is grounded in counterfactual theory but still easy to apply to a wide range of situations.
Keywords: methods of analysis