Learn R Programming

fitdistcp (version 0.1.1)

pareto_k2_waic: Waic

Description

Waic

Usage

pareto_k2_waic(waicscores, x, v1hat, fd1, kscale, aderivs)

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

v1hat

first parameter

fd1

the fractional delta used in the numerical derivatives with respect to the parameter

kscale

the known scale parameter

aderivs

logical for whether to use analytic derivatives (instead of numerical)