Rdocumentation
powered by
Learn R Programming
CUB (version 0.1)
loglikcubp0: Log-likelihood function of a CUB model with covariates for the uncertainty component
Description
Compute the log-likelihood function of a CUB model fitting ordinal responses with covariates for explaining the uncertainty component.
Usage
loglikcubp0(m, ordinal, Y, bbet, ccsi)
Arguments
m
Number of ordinal categories
ordinal
Vector of ordinal responses
Y
Matrix of selected covariates for explaining the uncertainty component
bbet
Vector of parameters for the uncertainty component, with length equal to NCOL(Y)+1 to account for an intercept term (first entry of bbet)
ccsi
Feeling parameter