negloglik_glf: Log-likelihood function for the fixed-effects model
Description
Log-likelihood function for the fixed-effects model
Usage
negloglik_glf(par, v, d.matrix, wts, len_beta)
Arguments
par
vector of regression coefficients,
and M, B, T, (offset, slope and symmetry of the g function)
v
vector of standardized scores from the continuous ordinal scale
d.matrix
design matrix (fixed effects)
wts
optional case weights
len_beta
length of the regression coefficients vector
Value
Minus the log-likelihood at parameter values par
Details
This function computes minus the log-likelihood function for a fixed-effects model using
the generalized logistic function as g function and the logit link function. It is used internally
to fit the model and should not be of interest of the user.