Log-likelihood function of a CUB model with covariates for the feeling component
Compute the log-likelihood function of a CUB model fitting ordinal data, with
covariates for explaining the feeling component.
loglikcub0q(m, ordinal, W, pai, gama)
m
: Number of ordinal categoriesordinal
: Vector of ordinal responsesW
: Matrix of selected covariates for explaining the feeling componentpai
: Uncertainty parametergama
: Vector of parameters for the feeling component, with length NCOL(W) + 1 to account for an intercept term (first entry of gama)Useful links