voi_glm.Rd
voi_glmn function
voi_glm(
n_sim,
thresholds = (0:99)/100,
glm_object = NULL,
mc_type = "bootstrap",
data = NULL,
pi = NULL,
truth_formula = NULL,
family = binomial(link = "logit")
)
Number of simulations required.
thresholds at which EVPI is calculated
The GLM object representing the proposed model
any of "bootstrap", "Bayesian_bootstrap", or "likelihood"
for EVPI calculations.
A vector of predicted values. Required only if data is provided. If a string or single number it indicates the corresponding columns in data
Formula of the correct model. Its parameters will be estimated repeatedly using the data
GLM family and link function