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

Description Usage Arguments Details

View source: R/Qdue.R

Description

Define the opposite of one of the two scalar functions that are maximized when running the E-M algorithm for CUBE models with covariates for feeling, uncertainty and overdispersion.

Usage

1
Qdue(param, esterno2, q, m)

Arguments

param

Vector of initial estimates of parameters for the feeling component and the overdispersion effect

esterno2

Matrix binding together the column vector of the posterior probabilities that each observed rating has been generated by the distribution of the first component of the mixture, the column vector of ordinal responses, and the matrices W and Z of the selected covariates for feeling and overdispersion, respectively

q

Number of selected covariates for explaining the feeling component

m

Number of ordinal categories

Details

It is iteratively called as an argument of "optim" within CUBE function (with covariates) as the function to minimize to compute the maximum likelihood estimates for the feeling and the overdispersion components.


CUB documentation built on March 31, 2020, 5:14 p.m.