When to use something else#

  • One population curve, a few confounders, working in R: npcausal (Kennedy’s own implementation) is close in accuracy.

  • Staggered adoption with a continuous dose: contdid (R) or diff_diff.ContinuousDiD (Python).

  • You only need an average slope and trust linearity: DoubleML’s partially linear model.

  • Unmeasured confounders with no pre-period: no estimator fixes this; you need a different design (an instrument, a discontinuity or an experiment).

Caveats#

  • Everything assumes the design you chose is right: unconfoundedness given X, or (strong) parallel trends for DiD. Double robustness protects against a wrong model, not a missing variable.

  • Report curves over the observed dose range. Weights are capped at the 99th percentile by default (max_weight_quantile), trading a little bias for a lot of variance.

  • The 95% bands are slightly optimistic: in our simulations they contained the true curve 75-93% of the time (stores 81%), mostly because capping the weights leaves a small bias. Check with coverage_check before relying on them; details on the research page.

  • Experimental, not supported: drcurves.riesz (learned Riesz weights).