evpi_val | R Documentation |
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
)
Y |
Binary response variable |
pi |
Mean of the second distribution |
method |
EVPI calculation method |
n_sim |
Number of Monte Carlo simulations (for bootstrap-based methods) |
zs |
vector of risk thresholds at which EVPI is to be calculated |
weights |
(optional) observation weights |
Returns a data frame containing thresholds, EVPIs, and some auxilary output.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.