powered by
Compute the probability distribution of a CUB model without covariates.
probcub00(m,pai,csi)
The vector of the probability distribution of a CUB model.
Number of ordinal categories
Uncertainty parameter
Feeling parameter
Piccolo D. (2003). On the moments of a mixture of uniform and shifted binomial random variables. Quaderni di Statistica, 5, 85--104
bitcsi, probcub0q, probcubp0, probcubpq
bitcsi
probcub0q
probcubp0
probcubpq
m<-9 pai<-0.3 csi<-0.8 pr<-probcub00(m,pai,csi) plot(1:m,pr,type="h",main="CUB probability distribution",xlab="Ordinal categories") points(1:m,pr,pch=19)
Run the code above in your browser using DataLab