Learn R Programming

CUB (version 0.1)

loglikcubecsi: Log-likelihood function of CUBE model with covariates only for feeling

Description

Compute the log-likelihood function of a CUBE model for ordinal data with subjects' covariates only for feeling.

Usage

loglikcubecsi(m, ordinal, W, pai, gama, phi)

Arguments

m
Number of ordinal categories
ordinal
Vector of ordinal responses
W
Matrix of covariates for explaining the feeling component
pai
Uncertainty parameter
gama
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 parameter

See Also

loglikCUBE