Learn R Programming

FastCUB (version 0.0.3)

fastcub0q: Main function for CUB models with covariates for the feeling component

Description

Function to estimate and validate a CUB model for given ordinal responses, with covariates for explaining the feeling component.

Usage

fastcub0q(m,ordinal,W,starting=NULL,maxiter,toler,iterc=3,invgen=TRUE)

Value

An object of the class "fastCUB"

Arguments

m

Number of ordinal categories

ordinal

Vector of ordinal responses

W

Matrix of selected covariates for explaining the feeling component, not including intercept

starting

Starting values for the algorithm

maxiter

Maximum number of iterations allowed for running the optimization algorithm

toler

Fixed error tolerance for final estimates

iterc

Iteration from which the acceleration strategy starts

invgen

Logical: should the recursive formula for the inverse of the information matrix be considered? (Default is TRUE)