Microsimulation Modeling for Health Decision Sciences Using R: A Tutorial
- PMID: 29587047
- PMCID: PMC6349385
- DOI: 10.1177/0272989X18754513
Microsimulation Modeling for Health Decision Sciences Using R: A Tutorial
Abstract
Microsimulation models are becoming increasingly common in the field of decision modeling for health. Because microsimulation models are computationally more demanding than traditional Markov cohort models, the use of computer programming languages in their development has become more common. R is a programming language that has gained recognition within the field of decision modeling. It has the capacity to perform microsimulation models more efficiently than software commonly used for decision modeling, incorporate statistical analyses within decision models, and produce more transparent models and reproducible results. However, no clear guidance for the implementation of microsimulation models in R exists. In this tutorial, we provide a step-by-step guide to build microsimulation models in R and illustrate the use of this guide on a simple, but transferable, hypothetical decision problem. We guide the reader through the necessary steps and provide generic R code that is flexible and can be adapted for other models. We also show how this code can be extended to address more complex model structures and provide an efficient microsimulation approach that relies on vectorization solutions.
Keywords: Markov model; R project; decision-analytic modeling; microsimulation; open source software.
Figures







Similar articles
-
An Introductory Tutorial on Cohort State-Transition Models in R Using a Cost-Effectiveness Analysis Example.Med Decis Making. 2023 Jan;43(1):3-20. doi: 10.1177/0272989X221103163. Epub 2022 Jun 30. Med Decis Making. 2023. PMID: 35770931 Free PMC article.
-
Multistate Statistical Modeling: A Tool to Build a Lung Cancer Microsimulation Model That Includes Parameter Uncertainty and Patient Heterogeneity.Med Decis Making. 2016 Jan;36(1):86-100. doi: 10.1177/0272989X15574500. Epub 2015 Mar 2. Med Decis Making. 2016. PMID: 25732723 Free PMC article.
-
Flexible Approaches Based on Multistate Models and Microsimulation to Perform Real-World Cost-Effectiveness Analyses: An Application to Proprotein Convertase Subtilisin-Kexin Type 9 Inhibitors.Value Health. 2024 Jul;27(7):897-906. doi: 10.1016/j.jval.2024.03.008. Epub 2024 Mar 26. Value Health. 2024. PMID: 38548178
-
A Comparison of Four Software Programs for Implementing Decision Analytic Cost-Effectiveness Models.Pharmacoeconomics. 2017 Aug;35(8):817-830. doi: 10.1007/s40273-017-0510-8. Pharmacoeconomics. 2017. PMID: 28488257 Review.
-
Clinical Decision Analysis and Markov Modeling for Surgeons: An Introductory Overview.Ann Surg. 2016 Aug;264(2):268-74. doi: 10.1097/SLA.0000000000001569. Ann Surg. 2016. PMID: 26756750 Review.
Cited by
-
Cost-effectiveness of folic acid therapy for primary prevention of stroke in patients with hypertension.BMC Med. 2022 Oct 25;20(1):407. doi: 10.1186/s12916-022-02601-z. BMC Med. 2022. PMID: 36280851 Free PMC article. Clinical Trial.
-
Modeling the Outcome of Systematic TPMT Genotyping or Phenotyping Before Azathioprine Prescription: A Cost-Effectiveness Analysis.Mol Diagn Ther. 2019 Jun;23(3):429-438. doi: 10.1007/s40291-019-00398-x. Mol Diagn Ther. 2019. PMID: 30963516
-
Assess the Performance and Cost-Effectiveness of LACE and HOSPITAL Re-Admission Prediction Models as a Risk Management Tool for Home Care Patients: An Evaluation Study of a Medical Center Affiliated Home Care Unit in Taiwan.Int J Environ Res Public Health. 2020 Feb 2;17(3):927. doi: 10.3390/ijerph17030927. Int J Environ Res Public Health. 2020. PMID: 32024309 Free PMC article.
-
Engaging stakeholders in the use of an interactive simulation tool to support decision-making about the implementation of colorectal cancer screening interventions.Cancer Causes Control. 2023 Dec;34(Suppl 1):135-148. doi: 10.1007/s10552-023-01692-0. Epub 2023 May 6. Cancer Causes Control. 2023. PMID: 37147411 Free PMC article.
-
Characterization and Valuation of the Uncertainty of Calibrated Parameters in Microsimulation Decision Models.Front Physiol. 2022 May 9;13:780917. doi: 10.3389/fphys.2022.780917. eCollection 2022. Front Physiol. 2022. PMID: 35615677 Free PMC article.
References
-
- Kattan M Encyclopedia of Medical Decision Making. 2455 Teller Road, Thousand Oaks California 91320 United States: SAGE Publications, Inc.; 2009. doi:10.4135/9781412971980. - DOI
-
- Kreke JE, Schaefer AJ, Roberts MS. Simulation and critical care modeling. Current opinion in critical care. 2004;10(5):395–8. Available at: http://www.ncbi.nlm.nih.gov/pubmed/15385758. - PubMed
-
- Roberts M, Russell LB, Paltiel AD, et al. Conceptualizing a model: a report of the ISPOR-SMDM Modeling Good Research Practices Task Force−−2. Value in health : the journal of the International Society for Pharmacoeconomics and Outcomes Research. 2012;15(6):804–11. doi:10.1016/j.jval.2012.06.016. - DOI - PMC - PubMed
-
- Caro JJ, Briggs AH, Siebert U, Kuntz KM, ISPOR-SMDM Modeling Good Research Practices Task Force. Modeling good research practices--overview: a report of the ISPOR-SMDM Modeling Good Research Practices Task Force−−1. Value in health : the journal of the International Society for Pharmacoeconomics and Outcomes Research. 2012;15(6):796–803. doi:10.1016/j.jval.2012.06.012. - DOI - PubMed
Publication types
MeSH terms
Grants and funding
LinkOut - more resources
Full Text Sources
Other Literature Sources