Waic
halfnorm_waic(waicscores, x, v1hat, fd1, lddi, lddd, lambdad, aderivs)
Two numeric values.
logical that indicates whether to return estimates for the waic1 and waic2 scores (longer runtime)
a vector of training data values
first parameter
the fractional delta used in the numerical derivatives with respect to the parameter
inverse observed information matrix
third derivative of log-likelihood
derivative of the log prior
logical for whether to use analytic derivatives (instead of numerical)