get_loo {bpcs}R Documentation

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

Description

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

Usage

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


m<-bpc(data = tennis_agresti,
player0 = 'player0',
player1 = 'player1',
result_column = 'y',
model_type = 'bt',
solve_ties = 'none')
 l<-get_loo(m)
print(l)


[Package bpcs version 1.0.0 Index]