Compute the log-likelihood function for the IHG model with covariates to explain the preference parameter.
loglikihgcov(m, ordinal, U, nu)
Number of ordinal categories
Vector of ordinal responses
Matrix of selected covariates for explaining the preference parameter
Vector of coefficients for covariates, whose length equals NCOL(U)+1 to include an intercept term in the model (first entry of nu)
loglikIHG