cl | R Documentation |
cl
Calculate the negative composite log-likelihood value and score function for a particular subject given parameter value and other input variables.
cl(theta, y, X, dwdv, cmwdv, lt, wn, base, J, p)
theta |
a vector of parameter value. |
y |
a vector of observation for the subject. |
X |
covariate for the particular subject. |
dwdv |
corresponding distance of selected pair. |
cmwdv |
combination of the pairs included into the composite likelihood. |
lt |
number of parameter (i.e. length of theta). |
wn |
number of pairs with distance. |
base |
identity matrix with dimension |
J |
number of category among (ALL) observed response. |
p |
number of covariate (i.e. number of column of |
cl
returns a list: composite log-likelihood value and a vector of first-order partial derivatives for theta
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.