(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)
.
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)
The value of the negative log-likelihood function (cusp.nlogLike
, cusp.nlogLike.c
),
the value of the log-likelihood function (cusp.logLike
).
parameter vector
vector of observed values for the state variable in the cusp (cusp.nlogLike
only)
design matrix predicting state values at which the likelihood is evaluated
design matrix predicting alpha in the model
design matrix predicting beta in the model
unused extra arguments
logical, if TRUE
the value of the parameters are printed to the console
Raoul Grasman
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.
See cusp-package
cusp
, cusp-package