Log-likelihood function of CUBE model with covariates only for feeling
Compute the log-likelihood function of a CUBE model for ordinal data with subjects' covariates only for feeling.
loglikcubecsi(m, ordinal, W, pai, gama, phi)
m
: Number of ordinal categoriesordinal
: Vector of ordinal responsesW
: Matrix of covariates for explaining the feeling componentpai
: Uncertainty parametergama
: Vector of parameters for the feeling component, with length equal to NCOL(W) + 1 to account for an intercept term (first entry of gama)phi
: Overdispersion parameterinternal
Useful links