hesim0.5.5 package

Health Economic Simulation Modeling and Decision Analysis

absorbing

Absorbing states

apply_rr

Apply relative risks to transition probability matrices

as_array3

Convert between 2D tabular objects and 3D arrays

as_pfs_os

Convert multi-state data to PFS and OS data

as.data.table.tparams_transprobs

Coerce to data.table

autoplot.stateprobs

Plot state probabilities

autoplot.survival

Plot survival curves

bootstrap

Bootstrap a statistical model

ce

A cost-effectiveness object

cea

Cost-effectiveness analysis

check_input_data

Check input data argument for create_input_mats

check

Input validation for class objects

CohortDtstm

Cohort discrete time state transition model

CohortDtstmTrans

Transitions for a cohort discrete time state transition model

costs

Costs object

create_CohortDtstm

Create CohortDtstm object

create_CohortDtstmTrans

Create CohortDtstmTrans object

create_IndivCtstmTrans

Create IndivCtstmTrans object

create_input_mats.formula_list

Create input matrices from formula

create_input_mats

Create input matrices

create_lines_dt

Create a data table of treatment lines

create_object_list

Form a list from ...

create_params

Create a parameter object from a fitted model

create_PsmCurves

Create PsmCurves object

create_StateVals

Create a StateVals object

create_trans_dt

Create a data table of health state transitions

CtstmTrans

An R6 base class for continuous time state transition models

define_model

Define and evaluate model expression

define_rng

Define and evaluate random number generation expressions

define_tparams

Define and evaluate transformed parameter expressions

disprog

Disease progression object

expand.hesim_data

Expand hesim_data

expand

Expand object

expmat

Matrix exponential

fast_rgengamma

Random generation for generalized gamma distribution

flexsurvreg_list

List of flexsurvreg objects

formula_list

List of formula objects

get_labels

Get value labels

hesim_data

Data for health economic simulation modeling

hesim_survdists

List of survival distributions

hesim

hesim: Health Economic Simulation Modeling and Decision Analysis

icea

Individualized cost-effectiveness analysis

icer_tbl

ICER table

icer

Incremental cost-effectiveness ratio

id_attributes

Attributes for ID variables

incr_effect

Incremental treatment effect

IndivCtstm

Individual-level continuous time state transition model

IndivCtstmTrans

Transitions for an individual-level continuous time state transition m...

input_mats

Input matrices for a statistical model

lm_list

List of lm objects

mom_beta

Method of moments for beta distribution

mom_gamma

Method of moments for gamma distribution

multinom_list

List of multinom objects

normboot

Draw parameters of statistical model from multivariate normal distribu...

params_lm

Parameters of a linear model

params_mlogit_list

Parameters of a list of multinomial logit models

params_mlogit

Parameters of a multinomial logit model

params_surv_list

Parameters of a list of survival models

params_surv

Parameters of a survival model

params

Parameter object

partsurvfit

Partitioned survival regression object

plot_ceac

Plot cost-effectiveness acceptability curve

plot_ceaf

Plot cost-effectiveness acceptability frontier

plot_ceplane

Plot cost-effectiveness plane

plot_evpi

Plot expected value of perfect information

plugin

Code to use the hesim package inline. Not directly called by the user.

Psm

N-state partitioned survival model

PsmCurves

Partitioned survival curves

qalys

Quality-adjusted life-years object

qmatrix.matrix

Transition intensity matrix from tabular object

qmatrix.msm

Transition intensity matrix from msm object

qmatrix

Transition intensity matrix

rcat

Random generation for categorical distribution

rdirichlet_mat

Random generation for multiple Dirichlet distributions

reexports

Objects exported from other packages

rng_distributions

Random number generation distributions

rpwexp

Random generation for piecewise exponential distribution

set_labels

Set value labels

sim_ev

Expected values from state probabilities

sim_stateprobs

Simulated state probabilities

sim_stateprobs.survival

Simulate state probabilities from survival curves

stateprobs

State probability object

stateval_tbl

Table to store state value parameters

StateVals

Model for state values

summarize_ce

Summarize costs and effectiveness

summary.ce

Summary method for cost-effectiveness object

summary.eval_rng

Summarize eval_rng object

summary.params

Summarize parameter objects

summary.tparams_mean

Summarize tparams_mean object

summary.tparams_transprobs

Summarize tparams_transprobs object

summary.tpmatrix

Summarize transition probability matrix

surv_quantile

Survival quantiles

survival

Survival object

time_intervals

Time intervals

tparams_mean

Predicted means

tparams_transprobs

Transition probabilities

tparams

Transformed parameter object

tpmatrix_id

Transition probability matrix IDs

tpmatrix_names

Names for elements of a transition probability matrix

tpmatrix

Transition probability matrix

uv_rng

Generate variates for univariate distributions

weibullNMA

Parameterization of the Weibull distribution for network meta-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.

  • Maintainer: Devin Incerti
  • License: GPL-3
  • Last published: 2024-09-18