These online supplementary materials provide the R code that was used for the simulation study and empirical data analysis in the manuscript ``Estimating causal effects of time-varying exposures: The overlap and differences between structural equation modeling and marginal structural models''. The website containing the materials can be found at https://jeroendmulder.github.io/SEM-and-MSM.
- Jeroen D. Mulder, MSc - Postdoc - Utrecht University
Mulder and Luijken share first authorship. Correspondence concerning this article should be addressed to Jeroen D. Mulder.
- Dr. Jeroen D. Mulder - Postdoc - Utrecht University
- Dr. Kim Luijken
- Dr. Bas Penning-de Vries - Assistant professor - UMC Utrecht
- Dr. Ellen L. Hamaker - Full professor - Utrecht University