weibull_waic: Waic for RUST
Usage
weibull_waic(waicscores, x, v1hat, v2hat, lddi, lddd, lambdad)
Arguments
- waicscores
logical that indicates whether to return estimates for the waic1 and waic2 scores (longer runtime)
- x
a vector of training data values
- v1hat
first parameter
- v2hat
second parameter
- lddi
inverse observed information matrix
- lddd
third derivative of log-likelihood
- lambdad
derivative of the log prior