IDEAS home Printed from https://ideas.repec.org/a/sae/medema/v43y2023i1p21-41.html
   My bibliography  Save this article

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

Author

Listed:
  • Fernando Alarid-Escudero

    (Department of Health Policy, School of Medicine, and Stanford Health Policy, Freeman-Spogli Institute for International Studies, Stanford University, Stanford, California, USA
    Division of Public Administration, Center for Research and Teaching in Economics (CIDE), Aguascalientes, Aguascalientes, Mexico)

  • Eline Krijkamp

    (Department of Epidemiology and Department of Radiology, Erasmus University Medical Center, Rotterdam, The Netherlands
    Erasmus School of Health Policy and Management, Erasmus University Rotterdam)

  • Eva A. Enns

    (Division of Health Policy and Management, University of Minnesota School of Public Health, Minneapolis, MN, USA)

  • Alan Yang

    (The Hospital for Sick Children, Toronto, Ontario, Canada)

  • M. G. Myriam Hunink

    (Department of Epidemiology and Department of Radiology, Erasmus University Medical Center, Rotterdam, The Netherlands
    Center for Health Decision Sciences, Harvard T.H. Chan School of Public Health, Boston, USA)

  • Petros Pechlivanoglou

    (The Hospital for Sick Children, Toronto, Ontario, Canada)

  • Hawre Jalal

    (University of Toronto, Toronto, Ontario, Canada (PP); University of Ottawa, Ottawa, Ontario, Canada)

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.

Suggested Citation

  • Fernando Alarid-Escudero & Eline Krijkamp & Eva A. Enns & Alan Yang & M. G. Myriam Hunink & Petros Pechlivanoglou & Hawre Jalal, 2023. "A Tutorial on Time-Dependent Cohort State-Transition Models in R Using a Cost-Effectiveness Analysis Example," Medical Decision Making, , vol. 43(1), pages 21-41, January.
  • Handle: RePEc:sae:medema:v:43:y:2023:i:1:p:21-41
    DOI: 10.1177/0272989X221121747
    as

    Download full text from publisher

    File URL: https://journals.sagepub.com/doi/10.1177/0272989X221121747
    Download Restriction: no

    File URL: https://libkey.io/10.1177/0272989X221121747?utm_source=ideas
    LibKey link: if access is restricted and if your library uses this service, LibKey will redirect you to where you can use your library subscription to access this item
    ---><---

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:sae:medema:v:43:y:2023:i:1:p:21-41. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    We have no bibliographic references for this item. You can help adding them by using this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: SAGE Publications (email available below). General contact details of provider: .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.