wwiecek / baggr

R package for Bayesian meta-analysis models, using Stan
GNU General Public License v3.0
46 stars 12 forks source link

Annotate LOO CV better #152

Closed wwiecek closed 8 months ago

wwiecek commented 1 year ago

Consider

loo <- loocv(schools)
loo

(1) Why is standard error negative?! Probably because Danny multiplied this by -2 in the old implementation. Check if documentation of loocv() is clear to a casual reader.

Now consider

loo2 <- loocv(schools, prior_hypermean = normal(10, 1))
loo_compare(loo, loo2)

(2) When printing loo we should also print one line explaining how the results should be interpreted.

Check if documentation of loo_compare is clear ot a casual reader.