Learn R Programming

CUB (version 0.1)

effecubecsi: Auxiliary function for the log-likelihood estimation of CUBE models with covariates only for the feeling component

Description

Compute the opposite of the scalar function that is maximized when running the E-M algorithm for CUBE models with covariates only for the feeling component.

Usage

effecubecsi(param, ordinal, W, m)

Arguments

param
Vector of length equal to NCOL(W) + 3 whose entries are the initial parameters estimates
ordinal
Vector of ordinal responses
W
Matrix of the selected covariates for explaining the feeling component
m
Number of ordinal categories