A Tutorial on Time-Dependent Cohort State-Transition Models in R using a Cost-Effectiveness Analysis Example

Fernando Alarid-Escudero, Eline M. Krijkamp, Eva A. Enns, Alan Yang, M. G. Myriam Hunink +2 more
8/30/2021
stat.COecon.GNq-bio.QM

Official code: DARTH-git/cohort-modeling-tutorial-timedep (10 stars, R, MIT, last commit 2026-11-10).

Abstract

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).

Show full abstract

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.

View on arXivView PDF

Code Implementations(1)

MIT

A Tutorial on Time-Dependent Cohort State-Transition Models in R

106R, TeXApr 12, 20213 weeks agoMIT

Similar Papers

Cite this paper

@article{alaridescudero2021tutorial,
  title  = {A Tutorial on Time-Dependent Cohort State-Transition Models in R using a Cost-Effectiveness Analysis Example},
  author = {Fernando Alarid-Escudero and Eline M. Krijkamp and Eva A. Enns and Alan Yang and M. G. Myriam Hunink and Petros Pechlivanoglou and Hawre Jalal},
  year   = {2021},
  eprint = {2108.13552},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2108.13552}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2108.13552.svg)](https://codeofpaper.com/paper/2108.13552)

Discussion