View source: R/loglikcubecsi.R
loglikcubecsi | R Documentation |
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 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 |
internal
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.