Marginal structural model (MSM)은 time-varying confounding(시간에 따라 변하는 교란요인) 상황에서 인과효과를 추정하기 위한 기법입니다. 해당 기법에 대한 코드를 작성할 예정입니다. 참고 문헌 [Chapter 9 – Sequential/Longitudinal Treatments,_Department of Statistical Science Duke University_](https://www2.stat.duke.edu/~fl35/teaching/640/Chapter9_LongitudinalTreatment.pdf) [Doubly Robust Estimation of Average Treatment Effects on the Treated through Marginal Structural Models,_Schomaker, Michael; Baumann, Philipp F. M_](https://www.research-collection.ethz.ch/server/api/core/bitstreams/d3b0c780-9bce-415a-bc0e-3e37ea4378e2/content)