Compute the probability distribution of a GeCUB model, that is a CUB model with shelter effect with covariates specified for all component.
probgecub(ordinal,Y,W,X,bet,gama,omega,shelter)
A vector of the same length as ordinal
, whose i-th component is the
probability of the i-th observation according to a GeCUB model with the corresponding values
of the covariates for all the components and coefficients specified in bet
, gama
, omega
.
Vector of ordinal responses
Matrix of covariates for explaining the uncertainty component
Matrix of covariates for explaining the feeling component
Matrix of covariates for explaining the shelter effect
Vector of parameters for the uncertainty component, whose length equals NCOL(Y)+1 to include an intercept term in the model (first entry)
Vector of parameters for the feeling component, whose length equals NCOL(W)+1 to include an intercept term in the model (first entry)
Vector of parameters for the shelter effect, whose length equals NCOL(X)+1 to include an intercept term in the model (first entry)
Category corresponding to the shelter choice
Iannario M. and Piccolo D. (2016b). A generalized framework for modelling ordinal data.
Statistical Methods and Applications, 25, 163--189.