probcush function

Probability distribution of a CUSH model

Probability distribution of a CUSH model

Compute the probability distribution of a CUSH model without covariates, that is a mixture of a degenerate random variable with mass at the shelter category and the Uniform distribution.

probcush(m,delta,shelter)

Arguments

  • m: Number of ordinal categories
  • delta: Shelter parameter
  • shelter: Category corresponding to the shelter choice

Returns

The vector of the probability distribution of a CUSH model without covariates.

Examples

m<-10 shelter<-1 delta<-0.4 pr<-probcush(m,delta,shelter) plot(1:m,pr,type="h",xlab="Number of categories") points(1:m,pr,pch=19)

References

Capecchi S. and Piccolo D. (2017). Dealing with heterogeneity in ordinal responses, Quality and Quantity, 51 (5), 2375--2393

Capecchi S. and Iannario M. (2016). Gini heterogeneity index for detecting uncertainty in ordinal data surveys, Metron, 74 (2), 223--232

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

Useful links