Learn R Programming

fitdistcp (version 0.1.1)

invgauss_logscores: Log scores for MLE and RHP predictions calculated using leave-one-out

Description

Log scores for MLE and RHP predictions calculated using leave-one-out

Usage

invgauss_logscores(logscores, x, prior, fd1 = 0.01, fd2 = 0.01, aderivs = TRUE)

Value

Two scalars

Arguments

logscores

logical that indicates whether to return leave-one-out estimates estimates of the log-score (much longer runtime)

x

a vector of training data values

prior

logical indicating which prior to use

fd1

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

fd2

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

aderivs

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