effecube {CUB} | R Documentation |
Define the opposite of the scalar function that is maximized when running the E-M algorithm for CUBE models without covariates.
effecube(paravec, dati, m)
paravec |
Vector of initial estimates for the feeling and the overdispersion parameters |
dati |
Matrix binding together a column vector of length |
It is called as an argument for optim within CUBE function (where no covariate is specified) and "cubeforsim" as the function to minimize.
Iannario, M. (2014). Modelling Uncertainty and Overdispersion in Ordinal Data,
Communications in Statistics - Theory and Methods, 43, 771–786