View source: R/40b_logis_libs.R
logis_waic | R Documentation |
Waic
logis_waic(waicscores, x, v1hat, d1, v2hat, fd2, lddi, lddd, lambdad, aderivs)
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 |
d1 |
the delta used in the numerical derivatives with respect to the parameter |
v2hat |
second parameter |
fd2 |
the fractional delta used in the numerical derivatives with respect to the parameter |
lddi |
inverse observed information matrix |
lddd |
third derivative of log-likelihood |
lambdad |
derivative of the log prior |
aderivs |
logical for whether to use analytic derivatives (instead of numerical) |
Two numeric values.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.