Skip to content
Increment 0.1.0a6 prerelease documentation. These docs describe the increment 0.1.0a6 prerelease (v0.1.0a6). Its API may change. Install: pip install 'increment==0.1.0a6' Keep any extras requested by the guide, such as increment[dashboard]==0.1.0a6.

Heterogeneous effects

Fit a conditional average treatment effect (CATE) model on simulated data with known effects. In a second cohort with no true heterogeneity, the in-sample top group overstates the effect; held-out re-estimation corrects it, and targeting_rule refuses to target.

Open the notebook in a full browser tab

The discussion follows Chernozhukov et al., “Generic Machine Learning Inference on Heterogeneous Treatment Effects in Randomized Experiments”. Validate segment effects and targeting decisions on held-out or independent data. A credible overall average effect does not validate subgroup rankings or a targeting rule.