Main function for IHG models with covariates
Estimate and validate an IHG model for given ordinal responses, with covariates to explain the preference parameter.
ihgcov(m, ordinal, U)
m
: Number of ordinal categoriesordinal
: Vector of ordinal responsesU
: Matrix of selected covariates for the preference parameterAn object of the class "IHG"
An object of the class "IHG"
The optimization procedure is run via "optim", option method="Brent" for constrained optimization (lower bound = 0, upper bound=1).
Useful links