Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

loo_compare

Compare fitted models on loo


Description

Compare fitted models on loo

Usage

loo_compare(x, ...)

Arguments

x

An object of class baggr_cv or a list of such objects.

...

Additional objects of class "baggr_cv"

Examples

# 2 models with more/less informative priors
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)

baggr

Bayesian Aggregate Treatment Effects

v0.4.0
GPL (>= 3)
Authors
Witold Wiecek [cre, aut], Rachael Meager [aut], Brice Green [ctb] (predict(), loo_compare, many visuals), Trustees of Columbia University [cph] (tools/make_cc.R)
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.