get_loo: Tiny wrapper for the PSIS-LOO-CV method from the loo package.

Description Usage Arguments Value References Examples

View source: R/bpc_exports.R

Description

This is used to evaluate the fit of the model using entropy criteria

Usage

1
get_loo(bpc_object)

Arguments

bpc_object

a bpc object

Value

a loo object

References

Vehtari A, Gelman A, Gabry J (2017). Practical Bayesian model evaluation using leave-one-out cross-validation and WAIC. Statistics and Computing_, 27, 1413-1432

Examples

1
2
3
4
5
6
7
8
m<-bpc(data = tennis_agresti,
player0 = 'player0',
player1 = 'player1',
result_column = 'y',
model_type = 'bt',
solve_ties = 'none')
 l<-get_loo(m)
print(l)

bpcs documentation built on Dec. 15, 2020, 5:23 p.m.