Given multiple loocv outputs, calculate differences in their expected log predictive density.
An object of class
Additional objects of class "baggr_cv"
loocv for fitting LOO CV objects and explanation of the procedure
## Not run: # 2 models with more/less informative priors -- this will take a while to run cv_1 <- loocv(schools, model = "rubin", pooling = "partial") cv_2 <- loocv(schools, model = "rubin", pooling = "partial", prior_hypermean = normal(0, 5), prior_hypersd = cauchy(0,4)) loo_compare(cv_1, cv_2) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.