Skip to main content
. 2023 Dec 20;3:188. doi: 10.1038/s43856-023-00423-5

Fig. 2. Heterogeneity of exposure effect estimated using out-of-bag prediction.

Fig. 2

a Heterogeneity in the effect of COVID-19 exposure on substantial post-acute full-time sick leave by deciles of estimated conditional risk difference (CRD). Observations are ranked in ten separate folds, using a causal forest model with observations clustered by folds. Risk differences (RD) are estimated using augmented inverse propensity weighting (AIPW). Error bars show two-sided 95% confidence intervals. b Distribution of conditional risk differences from n = 88,818 individuals, estimated using out-of-bag prediction from the causal forest model. The dashed vertical line shows the average risk difference.