hesim: Health Economic Simulation Modeling and Decision Analysis

A modular and computationally efficient R package for parameterizing, simulating, and analyzing health economic simulation models. The package supports cohort discrete time state transition models (Briggs et al. 1998) <doi:10.2165/00019053-199813040-00003>, N-state partitioned survival models (Glasziou et al. 1990) <doi:10.1002/sim.4780091106>, and individual-level continuous time state transition models (Siebert et al. 2012) <doi:10.1016/j.jval.2012.06.014>, encompassing both Markov (time-homogeneous and time-inhomogeneous) and semi-Markov processes. Decision uncertainty from a cost-effectiveness analysis is quantified with standard graphical and tabular summaries of a probabilistic sensitivity analysis (Claxton et al. 2005, Barton et al. 2008) <doi:10.1002/hec.985>, <doi:10.1111/j.1524-4733.2008.00358.x>. Use of C++ and data.table make individual-patient simulation, probabilistic sensitivity analysis, and incorporation of patient heterogeneity fast.

Version: 0.5.5
Depends: R (≥ 3.5.0)
Imports: data.table, flexsurv, ggplot2, MASS, msm, Rcpp (≥ 0.12.16), R6, stats, survival
LinkingTo: Rcpp, RcppArmadillo
Suggests: covr, kableExtra, knitr, magrittr, mstate, nnet, numDeriv, pracma, rmarkdown, scales, testthat, truncnorm
Published: 2024-09-18
DOI: 10.32614/CRAN.package.hesim
Author: Devin Incerti [aut, cre], Jeroen P. Jansen [aut], Mark Clements [aut], R Core Team [ctb] (hesim uses some slightly modified C functions from base R)
Maintainer: Devin Incerti <devin.incerti at gmail.com>
BugReports: https://github.com/hesim-dev/hesim/issues
License: GPL-3
URL: https://hesim-dev.github.io/hesim/, https://github.com/hesim-dev/hesim
NeedsCompilation: yes
Citation: hesim citation info
Materials: README
CRAN checks: hesim results

Documentation:

Reference manual: hesim.pdf
Vignettes: Cost-effectiveness analysis (source, R code)
Introduction to 'hesim' (source, R code)
Simple Markov cohort model (source, R code)
Time inhomogeneous Markov cohort models (source, R code)
Time inhomogeneous Markov individual-level models (source, R code)
Markov models with multinomial logistic regression (source, R code)
Markov and semi-Markov multi-state models (source, R code)
Partitioned survival models (source, R code)

Downloads:

Package source: hesim_0.5.5.tar.gz
Windows binaries: r-devel: hesim_0.5.5.zip, r-release: hesim_0.5.5.zip, r-oldrel: hesim_0.5.5.zip
macOS binaries: r-release (arm64): hesim_0.5.5.tgz, r-oldrel (arm64): hesim_0.5.5.tgz, r-release (x86_64): hesim_0.5.5.tgz, r-oldrel (x86_64): hesim_0.5.5.tgz
Old sources: hesim archive

Linking:

Please use the canonical form https://CRAN.R-project.org/package=hesim to link to this page.