Learn R Programming

CUB (version 0.1)

inibestgama: Preliminary parameter estimates of a CUB model with covariates for feeling

Description

Compute preliminary parameter estimates for CUB models with covariates for feeling, given ordinal responses. These estimates are set as initial values for parameters to start the E-M algorithm.

Usage

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

Value

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

References

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 and 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

See Also

inibest, inibestcubecsi

Examples

Run this code
data(univer)
m<-7
ordinal<-univer[,12]
diploma<-univer[,5]
ini<-inibestgama(m,ordinal,W=diploma)

Run the code above in your browser using DataLab