Main function for CUB models with a shelter effect
Estimate and validate a CUB model with a shelter effect.
cubshe(m, ordinal, shelter, maxiter, toler)
m
: Number of ordinal categoriesordinal
: Vector of ordinal responsesshelter
: Category corresponding to the shelter choicemaxiter
: Maximum number of iterations allowed for running the optimization algorithmtoler
: Fixed error tolerance for final estimatesAn object of the class "CUB"
Iannario M. (2012). Modelling shelter choices in a class of mixture models for ordinal responses, Statistical Methods and Applications, 21 , 1--22
Useful links