Learn R Programming

fitdistcp (version 0.1.1)

halfnorm_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

halfnorm_logscores(logscores, x, fd1 = 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

aderivs

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