powered by
This function defines the S3 BIC method for objects of class pvEBayes. It extracts the Bayesian Information Criterion (BIC) from a fitted model.
BIC
pvEBayes
# S3 method for pvEBayes BIC(object, ...)
numeric, BIC score for the resulting model.
a pvEBayes object, which is the output of the function pvEBayes or pvEBayes_tune.
other input parameters. Currently unused.
fit <- pvEBayes( contin_table = statin2025_44, model = "general-gamma", alpha = 0.3, n_posterior_draws = NULL ) BIC_score <- BIC(fit)
Run the code above in your browser using DataLab