compute_WAIC {lddmm} | R Documentation |
Calculate WAIC
Description
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)
Arguments
model_fit |
results of a model fit from the lddmm function |
Value
A scalar indicating the WAIC (smaller WAIC denotes better fit)
[Package lddmm version 0.4.2 Index]