Learn R Programming

CUB (version 1.1.5)

cushcov: CUSH model with covariates

Description

Estimate and validate a CUSH model for ordinal responses, with covariates to explain the shelter effect.

Usage

cushcov(m, ordinal, X, shelter)

Value

An object of the class "GEM", "CUSH"

Arguments

m

Number of ordinal categories

ordinal

Vector of ordinal responses

X

Matrix of selected covariates for explaining the shelter effect

shelter

Category corresponding to the shelter choice