Crowther Michael J, Lambert Paul C
University of Leicester, Department of Health Sciences, Adrian Building, University Road, Leicester LE1 7RH, U.K.
Stat Med. 2013 Oct 15;32(23):4118-34. doi: 10.1002/sim.5823. Epub 2013 Apr 23.
Simulation studies are conducted to assess the performance of current and novel statistical models in pre-defined scenarios. It is often desirable that chosen simulation scenarios accurately reflect a biologically plausible underlying distribution. This is particularly important in the framework of survival analysis, where simulated distributions are chosen for both the event time and the censoring time. This paper develops methods for using complex distributions when generating survival times to assess methods in practice. We describe a general algorithm involving numerical integration and root-finding techniques to generate survival times from a variety of complex parametric distributions, incorporating any combination of time-dependent effects, time-varying covariates, delayed entry, random effects and covariates measured with error. User-friendly Stata software is provided.
进行模拟研究以评估当前和新型统计模型在预定义场景中的性能。通常希望所选的模拟场景能准确反映生物学上合理的潜在分布。这在生存分析框架中尤为重要,因为要为事件时间和删失时间选择模拟分布。本文开发了在生成生存时间时使用复杂分布的方法,以便在实际中评估方法。我们描述了一种涉及数值积分和求根技术的通用算法,用于从各种复杂的参数分布中生成生存时间,纳入了随时间变化的效应、时变协变量、延迟进入、随机效应以及测量有误差的协变量的任意组合。并提供了用户友好的Stata软件。