A Tutorial on Time-Dependent Cohort State-Transition Models in R Using a Cost-Effectiveness Analysis Example
- 16 September 2022
- journal article
- research article
- Published by SAGE Publications in Medical Decision Making
- Vol. 43 (1) , 21-41
Abstract
In an introductory tutorial, we illustrated building cohort state-transition models (cSTMs) in R, where the state transition 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 2 types of time dependence 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.Keywords
All Related Versions
Funding Information
- Society for Medical Decision Making
- National Cancer Institute (U01-CA199335)
- National Cancer Institute (U01-CA253913)
- National Cancer Institute (U01-CA265729)
- National Cancer Institute (U01-CA265750)
- National Institute of Allergy and Infectious Diseases (K25AI118476)
- National Institute on Drug Abuse (K01DA048985)
- Gordon and Betty Moore Foundation (GBMF7853)
This publication has 33 references indexed in Scilit:
- Cost-Effectiveness of Treatment of Diabetic Macular EdemaAnnals of Internal Medicine, 2014
- Survival Modeling for the Estimation of Transition Probabilities in Model-Based Economic Evaluations in the Absence of Individual Patient Data: A TutorialPharmacoEconomics, 2013
- Model Parameter Estimation and Uncertainty AnalysisMedical Decision Making, 2012
- State-Transition ModelingMedical Decision Making, 2012
- Population Strategies to Decrease Sodium Intake and the Burden of Cardiovascular DiseaseAnnals of Internal Medicine, 2010
- Estimation of Markov Chain Transition Probabilities and Rates from Fully and Partially Observed Data: Uncertainty Propagation, Evidence Synthesis, and Model CalibrationMedical Decision Making, 2005
- Cost-Effectiveness Analysis of Treatments for Chronic Disease: Using R to Incorporate Time Dependency of Treatment ResponseMedical Decision Making, 2005
- Expected Value of Sample Information Calculations in Medical Decision ModelingMedical Decision Making, 2004
- Probabilistic Analysis of Cost-Effectiveness Models: Choosing between Treatment Strategies for Gastroesophageal Reflux DiseaseMedical Decision Making, 2002
- Age-Specific Incidence and Prevalence: A Statistical PerspectiveJournal of the Royal Statistical Society Series A: Statistics in Society, 1991