Beyond the States: Developing a Discrete Event Simulation Model Using R
Related Experiment Video
Updated: Jan 10, 2026

Development of an Individual-Tree Basal Area Increment Model using a Linear Mixed-Effects Approach
Published on: July 3, 2020
1Department of Health Services Research and Policy, London School of Hygiene and Tropical Medicine, London, UK.
Abstract:
This illustration uses the Scottish Cardiovascular Disease (CVD) Policy Model as a case study to provide a comprehensive, step-by-step guide to building a discrete event simulation (DES) model in R. It is specifically designed for practitioners who are familiar with constructing Markov models in R and wish to transition their theoretical knowledge of DES into practical implementation. The Scottish CVD Policy Model was originally developed as an Excel-based Markov model with a sophisticated structure: a primary Markov model for first events and nested sub-Markov models for subsequent events. Later replicated in R by Xin, Yiqiao et al., the model's source code was made publicly available on GitHub, underscoring its potential as a teaching tool. The intricate structure of this model presents several challenges in health economic modeling, making it an ideal candidate for demonstrating how DES techniques can address such complexities effectively. In this illustration, we deliberately avoid using R packages developed specifically for DES to enhance transparency. Instead, we rely on base R functions, and the tidyverse package for tidy data wrangling. This approach ensures that every step of the DES implementation is clear and reproducible. In addition to covering fundamental topics such as how to simulate a time to event according to an assumed distribution, and continuous discounting, the illustration also provides solutions to more advanced modeling challenges, such as handling piecewise-modeled cost and utility. By discussing both general principles and complex scenarios, this paper equips readers with the practical tools needed to transition from Markov to DES frameworks, enhancing the accuracy and flexibility of health economic evaluations.
More Related Videos
20:24Characterization of Complex Systems Using the Design of Experiments Approach: Transient Protein Expression in Tobacco as a Case Study
Published on: January 31, 2014
07:41Modeling Fast-scan Cyclic Voltammetry Data from Electrically Stimulated Dopamine Neurotransmission Data Using QNsim1.0
Published on: June 5, 2017
Related Concept Videos
Introduction to R
Econometric Views (EViews)
Response Surface Methodology
The process of RSM involves several key steps:
Introduction To Survival Analysis
The primary goal of survival analysis is to estimate survival time—the time...
Exponential Equations for Modeling Growth
Mechanistic Models: Compartment Models in Algorithms for Numerical Problem Solving
In individual population analyses, different algorithms are employed, such as Cauchy's method, which uses a...