ihgcov {CUB}R Documentation

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)

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).

Value

An object of the class "IHG"

An object of the class "IHG"


[Package CUB version 1.1.5 Index]