inibestgama | R Documentation |
Compute preliminary parameter estimates for the feeling component of a CUB model fitted to ordinal responses These estimates are set as initial values for parameters to start the E-M algorithm.
inibestgama(m,ordinal,W)
m |
Number of ordinal categories |
ordinal |
Vector of ordinal responses |
W |
Matrix of selected covariates for explaining the feeling component |
A vector of length equal to NCOL(W)+1, whose entries are the preliminary estimates of the parameters for the feeling component, including an intercept term as first entry.
Iannario M. (2008). Selecting feeling covariates in rating surveys,
Rivista di Statistica Applicata, 20, 103–116
Iannario M. (2009). A comparison of preliminary estimators in a class of ordinal data models,
Statistica & Applicazioni, VII, 25–44
Iannario M. (2012). Preliminary estimators for a mixture model of ordinal data,
Advances in Data Analysis and Classification, 6, 163–184
inibest
data(univer)
m<-7; ordinal<-univer$global; cov<-univer$diploma
ini<-inibestgama(m,ordinal,W=cov)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.