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.

Additional Metadata
Keywords decision-analytic modeling, Markov model, microsimulation, open source software, R project
Persistent URL dx.doi.org/10.1177/0272989X18754513, hdl.handle.net/1765/105640
Journal Medical Decision Making: an international journal
Citation
Krijkamp, E.M. (Eline M.), Alarid-Escudero, F. (Fernando), Enns, E.A. (Eva A.), Jalal, H.J. (Hawre J.), Hunink, M.G.M, & Pechlivanoglu, P. (2018). Microsimulation Modeling for Health Decision Sciences Using R: A Tutorial. Medical Decision Making: an international journal, 38(3), 400–422. doi:10.1177/0272989X18754513