fastcubpq: Main function for CUB models with covariates for both the...

View source: R/fastcubpq.R

fastcubpqR Documentation

Main function for CUB models with covariates for both the uncertainty and the feeling components

Description

Estimate and validate a CUB model for given ordinal responses, with covariates for explaining both the feeling and the uncertainty components by means of logistic transform.

Usage

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

Arguments

m

Number of ordinal categories

ordinal

Vector of ordinal responses

Y

Matrix of selected covariates for explaining the uncertainty component

W

Matrix of selected covariates for explaining the feeling component

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)

Value

An object of the class "fastCUB"

See Also

loglikcubpq, inibestgama


FastCUB documentation built on May 29, 2024, 8:29 a.m.

Related to fastcubpq in FastCUB...