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