Skip to content

This is a repository that provides guidance onto how to implement cohort models in R.

License

Notifications You must be signed in to change notification settings

DARTH-git/Cohort-modeling-tutorial

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cohort state-transition models in R: A Tutorial

This GitHub repository provides the code of the three different implementations of cohort state-transition model (cSTM), explained in the following manuscript:

We recommend to first read the manuscript before using the code. Understanding of the use of the multidimensional dynamics array described in

  • Krijkamp EM, Alarid-Escudero F, Enns EA, Pechlivanoglou P, Hunink MGM, Yang A, Jalal HJ. A multidimensional array representation of state-transition model dynamics. Medical Decision Making, 2020;40(2):242-248. https://doi.org/10.1177/0272989X19893973

is recommended.

The R folder includes three different scripts corresponding to the different implementations of the cSTM:

  • STM_01.R: time-independent cSTM
  • STM_02.R: age-dependent cSTM with calculations of epidemiological outcomes
  • STM_03.R: age- and history-dependent cSTM

In addition we include the data folder with age-specific mortality for the age-dependent and age- and history-dependent cSTM.

To run the cost-effectiveness analysis, you require The Decision Analytic Modeling Package (dampack), an R package for analyzing and visualizing the health economic outputs of decision models.

Full list of Contributors:

About

This is a repository that provides guidance onto how to implement cohort models in R.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •