Function to compute the Watanabe-Akaike information criterion (Gelman, Hwang,
Vehtari, 2014), which estimates the expected out-of-sample-prediction error
using a bias-corrected adjustment of within-sample error.
Usage
compute_WAIC(model_fit)
Value
A scalar indicating the WAIC (smaller WAIC denotes better fit)