probihg | R Documentation |
Compute the probability distribution of an IHG model (Inverse Hypergeometric) without covariates.
probihg(m,theta)
m |
Number of ordinal categories |
theta |
Preference parameter |
The vector of the probability distribution of an IHG model.
D'Elia A. (2003). Modelling ranks using the inverse hypergeometric distribution, Statistical Modelling: an International Journal, 3, 65–78
m<-10
theta<-0.30
pr<-probihg(m,theta)
plot(1:m,pr,type="h",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.