Qdue | R Documentation |
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.
Qdue(param, esterno2, q, m)
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 |
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.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.