Learn R Programming

voi: a generic package to calculate the expected value of information

Comparison with other packages

voi is pure "command-based" R, with no web interface like SAVI.

  • The R commands in voi are clean and consistent: they all have the same basic interface, so you can switch between computational methods easily.

  • Outputs are all in "tidy" data frames for consistency, and to facilitate post-processing and plotting with modern tools such as ggplot2.

EVPPI computation

  • voi includes all the EVPPI computation methods that are in SAVI (GAM and Gaussian process regression), and includes the INLA method from BCEA.

  • Some other nonparametric regression methods ("earth", "bart") are included in voi, which may improve efficiency for multiparameter EVPPI computation problems with large numbers of parameters.

EVSI computation

In summary

  • voi will not benefit you if you want a web interface, or if you just need single-parameter EVPPI and are happy with SAVI/BCEA.

  • voi will benefit you if you want to calculate EVSI, or multiparameter EVPPI with large numbers of parameters.

Installation

Stable version

install.packages("voi")

Development version

remotes::install_github("chjackson/voi")

User guide

voi for Value of Information calculation: package overview

Source code

Github repository

Copy Link

Version

Install

install.packages('voi')

Monthly Downloads

465

Version

1.0.3

License

GPL-3

Maintainer

Christopher Jackson

Last Published

September 16th, 2024

Functions in voi (1.0.3)

evppivar

Calculate the expected value of partial perfect information for an estimation problem
voi-package

Methods to calculate the Expected Value of Information
evsi

Calculate the expected value of sample information from a decision-analytic model
evsivar

Calculate the expected value of sample information for an estimation problem
form_nbarray

Convert either "net benefit" or "cost-effectiveness" forms for 'outputs' to a 3D array (number of simulations, x number of willingness-to-pay values, x number of decision options) with one WTP value when outputs is in "net benefit" form.
import_heemod

Import results of probabilistic analysis from heemod
plot.evppi

Plot EVPPI estimates
pop_voi

Population expected value of information
enbs

Expected net benefit of sampling
all_interactions

Generate a string with all interactions of a certain degree, to be used in a GAM formula
check_model_fn

Check that a decision-analytic model function is of the appropriate form. Detect if it returns net benefit or CEA format note check_outputs adds a class
enbs_opt

Determine the optimum sample size in an analysis of the expected net benefit of sampling
check_regression

Check the fit of a regression model used to estimate EVPPI or EVSI
evpi

Calculate the expected value of perfect information from a decision model
evppi

Calculate the expected value of partial perfect information from a decision-analytic model
evppi_mc

Traditional two-level Monte Carlo estimator of EVPPI.
chemo_cea

Chemotherapy cost-effectiveness model