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

View source: R/loglikcubecsi.R

loglikcubecsiR Documentation

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

internal


CUB documentation built on May 29, 2024, 5:23 a.m.