23  Time-Varying Treatments and G-Methods

NotePlanned for this chapter
  • Data: nhefs
  • Functions: sp.ipw, sp.msm, sp.tmle, sp.ltmle
  • Starting material: What If ch. 12-22, notebook 10, docs/guides/whatif_nhefs.md

23.1 The question: what if everyone had quit smoking?

23.2 The identifying assumption: sequential exchangeability, under treatment-confounder feedback

23.3 Doing it by hand: the g-formula and target trial emulation

23.4 Asking the agent: sp.ipw, sp.msm and sp.ltmle

23.5 Reading the agent’s work: weights, positivity and the emulated trial

23.6 Where agents go wrong: adjusting for time-varying confounders by regression

23.7 Checklist