waic.tridim_transformation | R Documentation |
Computes widely applicable information criterion via loo library. It can be used for a model comparison via loo::loo_compare() function.
## S3 method for class 'tridim_transformation'
waic(x, ...)
x |
A [tridim_transformation[ |
... |
unused |
A named list, see loo::waic()
for details.
euc2 <- fit_transformation(depV1+depV2~indepV1+indepV2,
NakayaData, transformation = 'euclidean')
aff2 <- fit_transformation(depV1+depV2~indepV1+indepV2,
NakayaData, transformation = 'affine')
loo::loo_compare(waic(euc2), waic(aff2))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.