loglikcubshe function

Log-likelihood of a CUB model with shelter effect

Log-likelihood of a CUB model with shelter effect

Compute the log-likelihood of a CUB model with a shelter effect for the given absolute frequency distribution.

loglikcubshe(m, freq, pai1, pai2, csi, shelter)

Arguments

  • m: Number of ordinal categories
  • freq: Vector of the absolute frequency distribution
  • pai1: Mixing coefficient for the shifted Binomial component of the mixture distribution
  • pai2: Mixing coefficient for the discrete Uniform component of the mixture distribution
  • csi: Feeling parameter
  • shelter: Category corresponding to the shelter choice
  • Maintainer: Rosaria Simone
  • License: GPL-2 | GPL-3
  • Last published: 2024-02-23

Useful links