In an introductory tutorial, we illustrated building cohort state-transition models (cSTMs) in R, where the state transitions probabilities were constant over time. However, in practice, many cSTMs require transitions, rewards, or both to vary over time (time-dependent). This tutorial illustrates adding two types of time-dependency using a previously published cost-effectiveness analysis of multiple strategies as an example. The first is simulation-time dependence, which allows for the transition probabilities to vary as a function of time as measured since the start of the simulation (e.g., varying probability of death as the cohort ages). The second is state-residence time dependence, allowing for history by tracking the time spent in any particular health state using tunnel states. We use these time-dependent cSTMs to conduct cost-effectiveness and probabilistic sensitivity analyses. We also obtain various epidemiological outcomes of interest from the outputs generated from the cSTM, such as survival probability and disease prevalence, often used for model calibration and validation. We present the mathematical notation first, followed by the R code to execute the calculations. The full R code is provided in a public code repository for broader implementation.
翻译:在介绍性教程中,我们用一个实例来说明在R区组群国家过渡模型(cSTMs)中,国家过渡概率随时间推移而变化,但在实践中,许多CSTMs要求过渡、奖励或两者随时间变化(取决于时间)。这个教程用以前出版的对多种战略的成本-效益分析作为例子,说明增加了两类时间依赖性。第一个是模拟-时间依赖性,使过渡概率随着时间的函数变化,自模拟开始以来,国家过渡概率随时间的变化而变化(例如,死亡概率与组群年龄不同)。第二个是州居住时间依赖性,通过利用隧道状态跟踪任何特定保健国家所花费的时间,允许历史。我们使用这些时间依赖性CSTMs进行成本效益和概率敏感度分析。我们还从cSTM产生的产出中获取各种流行病学结果,例如生存概率和疾病流行率,通常用于模型校准和验证。我们首先介绍数学注释,然后是执行计算结果的R代码。在更广泛的公共数据库中提供了全面的R代码。