loo.jsdmStanFit | R Documentation |
This function uses the loo package to compute PSIS-LOO CV, efficient
approximate leave-one-out (LOO) cross-validation for Bayesian models using Pareto
smoothed importance sampling (PSIS). This requires that the model was fit using
log_lik = TRUE
.
## S3 method for class 'jsdmStanFit'
loo(x, ...)
x |
The jsdmStanFit model object |
... |
Other arguments passed to the |
A list with class c("psis_loo","loo")
, as detailed in the
loo
documentation
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.