Marginal structural models (MSMs) are often used to estimate causal effects of treatments on survival time outcomes from observational data when time-dependent confounding may be present. They can be fitted using, e.g., inverse probability of treatment weighting (IPTW). It is important to evaluate the performance of statistical methods in different scenarios, and simulation studies are a key tool for such evaluations. In such simulation studies, it is common to generate data in such a way that the model of interest is correctly specified, but this is not always straightforward when the model of interest is for potential outcomes, as is an MSM. Methods have been proposed for simulating from MSMs for a survival outcome, but these methods impose restrictions on the data-generating mechanism. Here we propose a method that overcomes these restrictions. The MSM can be a marginal structural logistic model for a discrete survival time or a Cox or additive hazards MSM for a continuous survival time. The hazard of the potential survival time can be conditional on baseline covariates, and the treatment variable can be discrete or continuous. We illustrate the use of the proposed simulation algorithm by carrying out a brief simulation study. This study compares the coverage of confidence intervals calculated in two different ways for causal effect estimates obtained by fitting an MSM via IPTW.
翻译:边际结构模型(MSMs)常用于在存在时间依赖性混杂的情况下,基于观察性数据估计治疗对生存时间结局的因果效应。该类模型可通过逆概率治疗加权(IPTW)等方法进行拟合。在不同场景下评估统计方法的性能至关重要,而模拟研究是实现此类评估的关键工具。在此类模拟研究中,通常以感兴趣模型被正确设定的方式生成数据,但当关注模型针对潜在结局(如MSM)时,这一过程并不总是直观可行的。已有研究提出针对生存结局的MSM数据模拟方法,但这些方法对数据生成机制施加了限制。本文提出一种突破这些限制的新方法。该MSM可针对离散生存时间采用边际结构逻辑模型,或针对连续生存时间采用Cox比例风险或加性风险MSM模型。潜在生存时间的风险函数可依赖于基线协变量,治疗变量可为离散型或连续型。我们通过一项简要模拟研究展示了所提模拟算法的应用,该研究对比了两种不同置信区间计算方法对基于IPTW拟合MSM得到的因果效应估计的覆盖概率。