English

SimInf: An R package for Data-driven Stochastic Disease Spread Simulations

Populations and Evolution 2021-08-10 v3 Applications Computation

Abstract

We present the R package SimInf which provides an efficient and very flexible framework to conduct data-driven epidemiological modeling in realistic large scale disease spread simulations. The framework integrates infection dynamics in subpopulations as continuous-time Markov chains using the Gillespie stochastic simulation algorithm and incorporates available data such as births, deaths and movements as scheduled events at predefined time-points. Using C code for the numerical solvers and OpenMP to divide work over multiple processors ensures high performance when simulating a sample outcome. One of our design goal was to make SimInf extendable and enable usage of the numerical solvers from other R extension packages in order to facilitate complex epidemiological research. In this paper, we provide a technical description of the framework and demonstrate its use on some basic examples. We also discuss how to specify and extend the framework with user-defined models.

Keywords

Cite

@article{arxiv.1605.01421,
  title  = {SimInf: An R package for Data-driven Stochastic Disease Spread Simulations},
  author = {Stefan Widgren and Pavol Bauer and Robin Eriksson and Stefan Engblom},
  journal= {arXiv preprint arXiv:1605.01421},
  year   = {2021}
}

Comments

The manual has been updated to the latest version of SimInf (v6.0.0). 41 pages, 16 figures

R2 v1 2026-06-22T13:53:32.335Z