loglikcubecsi function

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

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

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)

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

  • Maintainer: Rosaria Simone
  • License: GPL-2 | GPL-3
  • Last published: 2024-02-23

Useful links