Preliminary parameter estimates of a CUB model with covariates for feeling
Preliminary parameter estimates of a CUB model with covariates for feeling
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)
Arguments
m: Number of ordinal categories
ordinal: Vector of ordinal responses
W: Matrix of selected covariates for explaining the feeling component
Returns
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.