In this paper I describe some substantial extensions to the survsim command for simulating survival data. survsim can now simulate survival data from a parametric distribution, a custom/user-defined distribution, from a fitted merlin model, from a specified cause-specific hazards competing risks model, or from a specified general multi-state model (with multiple timescales). Left truncation (delayed entry) is now also available for all settings. I illustrate the command with some examples, demonstrating the huge flexibility that can be used to better evaluate statistical methods.
翻译:在本文中,我描述了模拟生存数据的 survsim 命令的一些实质性扩展。 survsim 现在可以模拟从参数分布、定制/用户定义的分布、装配的梅林模型、特定因特定危险而相互竞争的风险模型或特定的一般多状态模型(有多个时标)中产生的生存数据。现在所有设置也都可以使用左转(延迟输入)来显示左转(延迟输入)。我用一些例子来说明命令,表明可用于更好地评估统计方法的巨大灵活性。