Computes the penalized log-likelihood function
negloglik4(par, v, pars_obj, wts)
vector of regression coefficients
vector of standardized scores from the continuous ordinal scale
the current object of class ocmpars
.
optional case weights
Minus the penalized log-likelihood at parameter values par
This function computes minus the penalized log-likelihood function. It is used internally to fit the model and should not be of interest of the user.