Description Usage Arguments Value Examples
Compute WAIC for all outcomes.
1 | waic_all(iter, l_pred)
|
iter |
The length of the sampled chain. |
l_pred |
A |
Vector of (1) WAIC for model, (2) standard error for WAIC, and (3) the effective number of parameters.
1 2 3 | data(teacher_rate)
fit_mlr <- gibbs_mlr(rating ~ grade, data = teacher_rate, m = 5)
waic_all(iter = 5, t(lpd(fit_mlr)))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.