Learn R Programming

fitdistcp (version 0.2.3)

gev_p1n_waic: Waic

Description

Waic

Usage

gev_p1n_waic(waicscores, x, t0, vhat, lddi, lddd, lambdad)

Value

Two numeric values.

Arguments

waicscores

logical that indicates whether to return estimates for the waic1 and waic2 scores (longer runtime)

x

a vector of training data values

t0

a single value of the predictor (specify either t0 or n0 but not both)

vhat

vector of all parameters

lddi

inverse observed information matrix

lddd

third derivative of log-likelihood

lambdad

derivative of the log prior