compute_EVPIs_: Compute the Expected Value of Perfect Information (EVPI)

View source: R/compute_EVPIs_.R

compute_EVPIs_R Documentation

Compute the Expected Value of Perfect Information (EVPI)

Description

Compute the Expected Value of Perfect Information (EVPI)

Usage

compute_EVPIs_(.effs, .costs, .interventions = NULL, .Kmax = NULL, .wtp = NULL)

Arguments

.effs

A tibble containing the effects from PSA. Number of columns is equal to the interventions while the number of rows is equal to the number of PSA simulations to be summarised.

.costs

A tibble containing the costs from PSA. Number of columns is equal to the interventions while the number of rows is equal to the number of PSA simulations to be summarised.

.interventions

A vector containing the names of all interventions. If not provided or less names than needed is provided, the function will generate generic names, for example intervention 1.

.Kmax

The maximum willingness-to-pay threshold to use in the analysis. This parameter is ignored if wtp is provided.

.wtp

A vector of numerical values declaring the willingness-to-pay (WTP) values to use in the analysis. If NULL (default) a range of WTP values (up to .Kmax will be used.

Value

A list containing the EVPI vector, value of information tibble, opportunity lost tibble among others


W-Mohammed/ShinyPSA documentation built on April 24, 2022, 6:57 p.m.