Extract Model Comparison Estimates
Extract Model Comparison Estimates
extract_ic(model_data = NULL, ic = "looic", ncore = 2)
model_data |
Object returned by |
ic |
Information Criterion. 'looic', 'waic', or 'both' |
ncore |
Number of cores to use when computing LOOIC |
IC Leave-One-Out and/or Watanabe-Akaike information criterion estimates.
## Not run: library(hBayesDM) output = bandit2arm_delta("example", niter = 2000, nwarmup = 1000, nchain = 4, ncore = 1) # To show the LOOIC model fit estimates (a detailed report; c) extract_ic(output) # To show the WAIC model fit estimates extract_ic(output, ic = "waic") ## End(Not run)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.