Description Usage Arguments Value
Calculates WAIC using the second method described in Gelman 2013
1  | calculate_WAIC(chain, parTab, dat, f, N)
 | 
chain | 
 the MCMC chain with each row corresponding to an iteration  | 
parTab | 
 the parameter table used for this chain  | 
dat | 
 the data frame of data used to solve the likelihood  | 
f | 
 pointer to the model function used in the MCMC procedure  | 
N | 
 number of samples to take from the MCMC chain  | 
list with WAIC for this model calculated from the MCMC chain, and pwaic which is a constituent of WAIC
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.