Description Usage Arguments Value References
Estimate and validate a CUB model with a shelter effect.
1 | cubshe(m, ordinal, shelter, maxiter, toler)
|
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 |
makeplot |
Logical: if TRUE (default), the algorithm returns a graphical plot comparing fitted probabilities and observed relative frequencies |
summary |
Logical: if TRUE, summary results of the fitting procedure are displayed on screen |
An 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
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.