computeWAIC | R Documentation |
Computes the value of WAIC (Widely Applicable Information Criterion) for the Hmsc
model
computeWAIC(hM, ghN = 11, byColumn = FALSE)
hM |
a fitted |
ghN |
order of Gauss-Hermite quadrature for approximate numerical integration |
byColumn |
describes whether WAIC is computed for the entire model |
The result is exact for normal and probit observational models. For Poisson-type observational model the result is obtained through numerical integration using Gauss-Hermite quadrature.
the scalar WAIC
# Compute WAIC of previously sampled Hmsc object WAIC = computeWAIC(TD$m)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.