View source: R/postestimation.R
loo.hsstan | R Documentation |
Compute an efficient approximate leave-one-out cross-validation using Pareto smoothed importance sampling (PSIS-LOO), or the widely applicable information criterion (WAIC), also known as the Watanabe-Akaike information criterion.
## S3 method for class 'hsstan'
loo(x, cores = getOption("mc.cores"), ...)
## S3 method for class 'hsstan'
waic(x, cores = getOption("mc.cores"), ...)
x |
An object of class |
cores |
Number of cores used for parallelisation (the value of
|
... |
Currently ignored. |
A loo
object.
# continued from ?hsstan
loo(hs.biom)
waic(hs.biom)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.