Learn R Programming

CUB (version 0.1)

inibest: Preliminary estimators for CUB models without covariates

Description

Compute preliminary parameter estimates of a CUB model without covariates for given ordinal responses. These preliminary estimators are used within the package code to start the E-M algorithm.

Usage

inibest(m, freq)

Arguments

m
Number of ordinal categories
freq
Vector of the absolute frequencies of given ordinal responses

Value

A vector $(\pi,\xi)$ of the initial parameter estimates for a CUB model without covariates, given the absolute frequency distribution of ordinal responses

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

inibestgama

Examples

Run this code
m<-9
freq<-c(10,24,28,36,50,43,23,12,5)
estim<-inibest(m, freq) 
pai<-estim[1]
csi<-estim[2]

Run the code above in your browser using DataLab