Compute the opposite of the log-likelihood function for an IHG model with covariates for the preference parameter.
effeihgcov(nu, ordinal, U, m)
Vector of the starting values for the parameters to be estimated, with length equal to NCOL(U)+1 to account for an intercept term (first entry of \(nu\))
Vector of ordinal responses
Matrix of the explanatory variables for the preference parameter \(\theta\)
Number of ordinal categories
It is called as an argument for "optim" within IHG function (with covariates) as the function to minimize.