Beta-Binomial distribution

Description

Return the Beta-Binomial distribution with parameters m, csi and phi.

Usage

1
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

betabinomial

Examples

1
2
3
4
5
6
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)

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.