title: Simulating from marginal structural models with time-dependent confounding.
abstract: We discuss why it is not always obvious how to simulate longitudinal data from a general marginal structural model (MSM) for a survival outcome while ensuring that the data exhibit complications due to time-dependent confounding. On the basis of the relation between a directed acyclic graph and an MSM, we suggest a data-generating process that satisfies both these requirements, the general validity of which we prove. Our approach is instructive regarding the interpretation of MSMs and useful in that it allows one to examine the finite sample performance of methods that claim to adjust for time-dependent confounding. We apply our methodology to design a simulation study that emulates typical longitudinal studies such as the Swiss HIV Cohort Study so that competing methods of adjusting for time-dependent covariates can be compared.
authors: School of Mathematics, University of Bristol, University Walk, Bristol, BS8 1TW, UK. w.havercroft@bristol.ac.uk
authors: W G
authors: WG
authors: Havercroft
authors: V
authors: V
authors: Didelez
mesh_terms: D023241:Antiretroviral Therapy, Highly Active / Q000706:statistics & numerical data; D015984:Causality; D003198:Computer Simulation; D015986:Confounding Factors, Epidemiologic; D015658:HIV Infections / Q000188:drug therapy* / Q000453:epidemiology; D006801:Humans; D016015:Logistic Models; D008137:Longitudinal Studies; D015233:Models, Statistical; D017063:Outcome Assessment, Health Care / Q000379:methods / Q000706:statistics & numerical data; D011336:Probability; D016019:Survival Analysis; D013557:Switzerland / Q000453:epidemiology; D013997:Time Factors