logis_p1_waic {fitdistcp} | R Documentation |
Waic
Description
Waic
Usage
logis_p1_waic(
waicscores,
x,
t,
v1hat,
d1,
v2hat,
d2,
v3hat,
fd3,
lddi,
lddd,
lambdad,
aderivs = TRUE
)
Arguments
waicscores |
logical that indicates whether to return estimates for the waic1 and waic2 scores (longer runtime) |
x |
a vector of training data values |
t |
a vector or matrix of predictors |
v1hat |
first parameter |
d1 |
the delta used in the numerical derivatives with respect to the parameter |
v2hat |
second parameter |
d2 |
the delta used in the numerical derivatives with respect to the parameter |
v3hat |
third parameter |
fd3 |
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) |
Value
Two numeric values.
[Package fitdistcp version 0.1.1 Index]