| cl_l {clordr} | R Documentation | 
Composite Likelihood Calculation for Spatial Ordinal Data without Replications (for implmentation)
Description
cl_l Calculate the negative composite log-likelihood value for a particular subject given parameter value and other input variables
Usage
cl_l(theta, y, X, dwdv, cmwdv, lt, wn, base, J, p)
Arguments
| 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 | 
| base | identity matrix with dimension  | 
| J | number of category among (ALL) observed response. | 
| p | number of covariate (i.e. number of column of  | 
Value
cl returns a list: composite log-likelihood value and a vector of first-order partial derivatives for theta.
[Package clordr version 1.7.0 Index]