effecube: Auxiliary function for the log-likelihood estimation of CUBE...

View source: R/effecube.R

effecubeR Documentation

Auxiliary function for the log-likelihood estimation of CUBE models without covariates

Description

Define the opposite of the scalar function that is maximized when running the E-M algorithm for CUBE models without covariates.

Usage

effecube(paravec, dati, m)

Arguments

paravec

Vector of initial estimates for the feeling and the overdispersion parameters

dati

Matrix binding together a column vector of length m containing the posterior probabilities that each observed category has been generated by the first component distribution of the mixture, and the column vector of the absolute frequencies of the observations

Details

It is called as an argument for optim within CUBE function (where no covariate is specified) and "cubeforsim" as the function to minimize.

References

Iannario, M. (2014). Modelling Uncertainty and Overdispersion in Ordinal Data, Communications in Statistics - Theory and Methods, 43, 771–786


CUB documentation built on May 29, 2024, 5:23 a.m.