Learn R Programming

CUB (version 1.1.5)

probcube: Probability distribution of a CUBE model without covariates

Description

Compute the probability distribution of a CUBE model without covariates.

Usage

probcube(m,pai,csi,phi)

Value

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

Arguments

m

Number of ordinal categories

pai

Uncertainty parameter

csi

Feeling parameter

phi

Overdispersion parameter

References

Iannario, M. (2014). Modelling Uncertainty and Overdispersion in Ordinal Data, Communications in Statistics - Theory and Methods, 43, 771--786

See Also

betar, betabinomial

Examples

Run this code
m<-9
pai<-0.3
csi<-0.8
phi<-0.1
pr<-probcube(m,pai,csi,phi)
plot(1:m,pr,type="h", main="CUBE probability distribution",xlab="Ordinal categories")
points(1:m,pr,pch=19)

Run the code above in your browser using DataLab