Marginal structural model (source code)

= Marginal structural model
{wiki=Marginal_structural_model}

A Marginal Structural Model (MSM) is a statistical approach used primarily in epidemiology and social sciences to estimate causal effects in observational studies when there is time-varying treatment and time-varying confounding. This method is useful when traditional statistical techniques, such as regression models, may provide biased estimates due to confounding factors that also change over time.