Learn R Programming

CUB (version 1.1.5)

ihg00: Main function for IHG models without covariates

Description

Estimate and validate an IHG model without covariates for given ordinal responses.

Usage

ihg00(m, ordinal)

Value

An object of the class "IHG"

An object of the class "IHG"

Arguments

m

Number of ordinal categories

ordinal

Vector of ordinal responses

Details

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