cubshe function

Main function for CUB models with a shelter effect

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)

Arguments

  • m: Number of ordinal categories
  • ordinal: Vector of ordinal responses
  • shelter: Category corresponding to the shelter choice
  • maxiter: Maximum number of iterations allowed for running the optimization algorithm
  • toler: Fixed error tolerance for final estimates

Returns

An object of the class "CUB"

References

Iannario M. (2012). Modelling shelter choices in a class of mixture models for ordinal responses, Statistical Methods and Applications, 21 , 1--22

  • Maintainer: Rosaria Simone
  • License: GPL-2 | GPL-3
  • Last published: 2024-02-23

Useful links