Estimate and validate a CUB model with a shelter effect.
cubshe(m, ordinal, shelter, maxiter, toler)
An object of the class "CUB"
Number of ordinal categories
Vector of ordinal responses
Category corresponding to the shelter choice
Maximum number of iterations allowed for running the optimization algorithm
Fixed error tolerance for final estimates
Iannario M. (2012). Modelling shelter choices in a class of mixture models for ordinal responses, Statistical Methods and Applications, 21, 1--22