betar | R Documentation |
Return the Beta-Binomial distribution with parameters m
, csi
and phi
.
betar(m,csi,phi)
m |
Number of ordinal categories |
csi |
Feeling parameter of the Beta-Binomial distribution |
phi |
Overdispersion parameter of the Beta-Binomial distribution |
The vector of length m
of the Beta-Binomial distribution.
Iannario, M. (2014). Modelling Uncertainty and Overdispersion in Ordinal Data, Communications in Statistics - Theory and Methods, 43, 771–786
betabinomial
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.