ihgcov function

Main function for IHG models with covariates

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)

Arguments

  • m: Number of ordinal categories
  • ordinal: Vector of ordinal responses
  • U: Matrix of selected covariates for the preference parameter

Returns

An object of the class "IHG"

An object of the class "IHG"

Details

The optimization procedure is run via "optim", option method="Brent" for constrained optimization (lower bound = 0, upper bound=1).

  • Maintainer: Rosaria Simone
  • License: GPL-2 | GPL-3
  • Last published: 2024-02-23

Useful links