Log-likelihood of a CUB model with shelter effect

Description

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

Usage

1
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

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.