fit_measures | R Documentation |
LPML, DIC and WAIC measures
fit_measures(y, p, nrep = NULL, nsamp = 100)
y |
Vector of response variable |
p |
Matrix of probabilities for each individual y in each MCMC iteration |
nrep |
Number of replications in bootstrap (null to use all data) |
nsamp |
Number of observation in each bootstrap realization |
measures A data.frame with LMPL, DIC and WAIC measures
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.