inibestcube {CUB}R Documentation

Naive estimates for CUBE models without covariates

Description

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.

Usage

inibestcube(m,ordinal)

Arguments

m

Number of ordinal categories

ordinal

Vector of ordinal responses

Value

A vector (π, ξ ,φ) of parameter estimates of a CUBE model without covariates.

See Also

inibestcubecov, inibestcubecsi

Examples

data(relgoods)
m<-10
ordinal<-relgoods$SocialNetwork
estim<-inibestcube(m,ordinal)     # Preliminary estimates (pai,csi,phi)

[Package CUB version 1.1.4 Index]