betar {CUB} | R Documentation |
Beta-Binomial distribution
Description
Return the Beta-Binomial distribution with parameters m
, csi
and phi
.
Usage
betar(m,csi,phi)
Arguments
m |
Number of ordinal categories |
csi |
Feeling parameter of the Beta-Binomial distribution |
phi |
Overdispersion parameter of the Beta-Binomial distribution |
Value
The vector of length m
of the Beta-Binomial distribution.
References
Iannario, M. (2014). Modelling Uncertainty and Overdispersion in Ordinal Data, Communications in Statistics - Theory and Methods, 43, 771–786
See Also
Examples
m<-9
csi<-0.8
phi<-0.2
pr<-betar(m,csi,phi)
plot(1:m,pr,type="h", main="Beta-Binomial distribution",xlab="Ordinal categories")
points(1:m,pr,pch=19)
[Package CUB version 1.1.5 Index]