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)
m
: Number of ordinal categoriesfreq
: Vector of the absolute frequency distributionpai1
: Mixing coefficient for the shifted Binomial component of the mixture distributionpai2
: Mixing coefficient for the discrete Uniform component of the mixture distributioncsi
: Feeling parametershelter
: Category corresponding to the shelter choiceUseful links