tmb_ICs | R Documentation |
Note that the model need to report *point-wise density* of the likelihood to calculate the ICs
tmb_ICs(
post_sample,
pointwise = "pwdens",
islog = TRUE,
looic = FALSE,
fix_nan = TRUE
)
post_sample |
posterior samples (results from ktools::sample_tmb) |
pointwise |
character name of pointwise predictive density reported from your model |
islog |
Is the pointwise density or log density? |
looic |
Report leave one out IC from 'loo' package? |
fix_nan |
replace NaN density with minimum density - pls check the likelihood yourself |
WAIC-1 and WAIC-2, DIC, and LOO when requested
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.