inibestgama: Preliminary parameter estimates of a CUB model with...

Description Usage Arguments Value References See Also Examples

View source: R/inibestgama.R

Description

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.

Usage

1
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 & 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

1
2
3
data(univer)
m<-7; ordinal<-univer$global; cov<-univer$diploma
ini<-inibestgama(m,ordinal,W=cov)

Example output

Loading required package: Formula

CUB documentation built on March 31, 2020, 5:14 p.m.