Learn R Programming

CUB (version 1.1.5)

ihgcov: Main function for IHG models with covariates

Description

Estimate and validate an IHG model for given ordinal responses, with covariates to explain the preference parameter.

Usage

ihgcov(m, ordinal, U)

Value

An object of the class "IHG"

An object of the class "IHG"

Arguments

m

Number of ordinal categories

ordinal

Vector of ordinal responses

U

Matrix of selected covariates for the preference parameter

Details

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