Health-Economic Simulation Modeling and Decision Analysis

Functionality for developing and analyzing the output of health-economic simulation models. Contains random sampling functions for conducting probabilistic sensitivity analyses (Claxton et al. 2005) and individual patient simulations (Brennan et al. 2006) . Individualized cost-effectiveness analysis (Basu and Meltzer 2007, Ioannidis and Garber 2011) , can be performed on simulation output and used to summarize a probabilistic sensitivity analysis at the subgroup or individual level. Core functions are written in C++ to facilitate computationally intensive modeling.

Travis-CI Build Status Coverage Status CRAN_Status_Badge hesim is an R package for health economic simulation modeling and decision analysis. The package can help facilitate computationally intensive simulation modeling and be used to analyze the output of simulation models. Current functionality includes:

  • Individualized cost-effectiveness analysis
  • Random sampling for probabilistic sensitivity analysis (PSA) and individual patient simulation (IPS)

To ensure that simulations can be run (and analyzed) in a reasonable amount of time, most functions are written in C++ using Rcpp and data manipulations are performed using the data.table package. hesim is therefore well suited for IPS, PSA, and quantifying structural uncertainty.


hesim can be installed from GitHub using devtools:


It can then be loaded into R:



Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.


0.1.0 by Devin Incerti, a year ago

Report a bug at

Browse source code at

Authors: Devin Incerti [aut, cre]

Documentation:   PDF Manual  

GPL-3 license

Imports data.table, Rcpp, stats

Suggests covr, ggplot2, knitr, msm, rmarkdown, scales, testthat, truncnorm

Linking to Rcpp, RcppArmadillo

See at CRAN