Related Experiment Video
Updated: Sep 19, 2025

Competing-Risk Nomogram for Predicting Cancer-Specific Survival in Multiple Primary Colorectal Cancer Patients after Surgery
Published on: September 27, 2024
Discrete Event Simulation in R using the 'Simmer' Package for Health Economic Modelling: A Tutorial and Illustration
Koen Degeling1,2, Jonathan Karnon3, Michiel van de Ven4,5
1Cancer Health Services Research, Centre for Cancer Research and Centre for Health Policy, Faculty of Medicine, Dentistry and Health Sciences, The University of Melbourne, Melbourne, Australia.
Abstract:
Discrete event simulation (DES) provides enhanced flexibility over modelling techniques that have been traditionally used for assessing health-economic outcomes, making it a particularly interesting technique for modelling complex clinical pathways. Discrete event simulation also facilitates consideration of resources and capacity constraints, making it suitable for addressing a wide range of research questions in health care and beyond. However, those unfamiliar with DES often perceive it to be more complex compared to traditional health-economic modelling techniques, such as state-transition modelling. To address this perceived complexity, this tutorial provides a detailed illustration of implementing DES in the open-source R software using the simmer package, through a case study in colon cancer. The tutorial is aimed at those who have a conceptual model that they want to implement as a DES in R, and are looking for practical guidance. It discusses methodological aspects related to DES and individual-level modelling in general that have not been extensively covered in literature, the conceptual model structure and corresponding pseudocode, data analysis, model implementation, and the deterministic and probabilistic analysis of the model. The documented code provides all building blocks required to develop a wide range of DES models in R using the simmer package.
Related Concept Videos
Cancer Survival Analysis
Assumptions of Survival Analysis
Parametric Survival Analysis: Weibull and Exponential Methods
Weibull Distribution
The Weibull distribution is a flexible model used in parametric survival analysis. It can handle both increasing and decreasing hazard rates, depending on its shape parameter...
Statistical Methods for Analyzing Epidemiological Data
Introduction To Survival Analysis
The primary goal of survival analysis is to estimate survival time—the time...
Statistical Software for Data Analysis and Clinical Trials

