Marginal Structural Models: A simple example
A few months ago, I wrote about what marginal structural models (MSM) were and why one should consider using them in cases where the treatment of interest or confounders vary over time. I linked to how to implement this with statistical programming languages as well. The original paper that developed MSM actually has a very…