Description Usage Arguments Details Value Note Author(s) References See Also Examples
(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)
.
1 2 3 | 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)
|
p |
parameter vector |
x |
vector of observed values for the state variable in the cusp ( |
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 |
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.
The value of the negative log-likelihood function (cusp.nlogLike
, cusp.nlogLike.c
),
the value of the log-likelihood function (cusp.logLike
).
The functions are not to be called by the user directly.
Raoul Grasman
See cusp-package
cusp
, cusp-package
1 2 | y = rcusp(100,1,0)
cusp:::cusp.logLike(c(a=1,b=0,w0=0,w1=1),y)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.