loglikcub0q: Log-likelihood function of a CUB model with covariates for...

View source: R/loglikcub0q.R

loglikcub0qR Documentation

Log-likelihood function of a CUB model with covariates for the feeling component

Description

Compute the log-likelihood function of a CUB model fitting ordinal data, with q covariates for explaining the feeling component.

Usage

loglikcub0q(m, ordinal, W, pai, gama)

Arguments

m

Number of ordinal categories

ordinal

Vector of ordinal responses

W

Matrix of selected covariates for explaining the feeling component

pai

Uncertainty parameter

gama

Vector of parameters for the feeling component, with length NCOL(W) + 1 to account for an intercept term (first entry of gama)


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