inibestcube | R Documentation |
Compute naive parameter estimates of a CUBE model without covariates for given ordinal responses. These preliminary estimators are used within the package code to start the E-M algorithm.
inibestcube(m,ordinal)
m |
Number of ordinal categories |
ordinal |
Vector of ordinal responses |
A vector (\pi, \xi ,\phi)
of parameter estimates of a CUBE model without covariates.
inibestcubecov
, inibestcubecsi
data(relgoods)
m<-10
ordinal<-relgoods$SocialNetwork
estim<-inibestcube(m,ordinal) # Preliminary estimates (pai,csi,phi)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.