tmb_ICs.Rd
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
)
posterior samples (results from ktools::sample_tmb)
character name of pointwise predictive density reported from your model
Is the pointwise density or log density?
Report leave one out IC from `loo` package?
replace NaN density with minimum density - pls check the likelihood yourself
WAIC-1 and WAIC-2, DIC, and LOO when requested