cusp.nlogLike: Negative log-likelihood for Cobb's cusp density

cusp.nlogLikeR Documentation

Negative log-likelihood for Cobb's cusp density

Description

(Negative) log-likelihood for Cobb's cusp probability density function used by cusp. This function is not to be called by the user. See help(cusp).

Usage

cusp.nlogLike(p, y, X.alpha, X.beta = X.alpha, ..., verbose = FALSE)
cusp.nlogLike.c(p, y, X.alpha, X.beta = X.alpha, ..., verbose = FALSE)
cusp.logLike(p, x, verbose = FALSE)

Arguments

p

parameter vector

x

vector of observed values for the state variable in the cusp (cusp.nlogLike only)

y

design matrix predicting state values at which the likelihood is evaluated

X.alpha

design matrix predicting alpha in the model

X.beta

design matrix predicting beta in the model

...

unused extra arguments

verbose

logical, if TRUE the value of the parameters are printed to the console

Details

cusp.nlogLike is the R version of the corresponding C function wrapped by cusp.nlogLike.c

These functions are not intended to be called directly by the user.

Value

The value of the negative log-likelihood function (cusp.nlogLike, cusp.nlogLike.c), the value of the log-likelihood function (cusp.logLike).

Note

The functions are not to be called by the user directly.

Author(s)

Raoul Grasman

References

See cusp-package

See Also

cusp, cusp-package


cusp documentation built on Aug. 29, 2022, 9:07 a.m.