R/voipred.R
evpi_val.Rd
EVPI (Expected Value of Perfect Information) for validation Takes a vector of mean and a 2X2 covariance matrix
evpi_val(
Y,
pi,
method = c("bootstrap", "bayesian_bootstrap", "asymptotic"),
n_sim = 1000,
zs = (0:99)/100,
weights = NULL
)
Binary response variable
Mean of the second distribution
EVPI calculation method
Number of Monte Carlo simulations (for bootstrap-based methods)
vector of risk thresholds at which EVPI is to be calculated
(optional) observation weights
Returns a data frame containing thresholds, EVPIs, and some auxilary output.