Learn R Programming

fitdistcp (version 0.1.1)

invgamma_logscores: Log scores for MLE and cp predictions calculated using leave-one-out

Description

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

Usage

invgamma_logscores(logscores, x, 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

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)