probihg: Probability distribution of an IHG model

Description Usage Arguments Value References Examples

View source: R/probihg.R

Description

Compute the probability distribution of an IHG model without covariates.

Usage

1
probihg(m,theta)

Arguments

m

Number of ordinal categories

theta

Preference parameter

Value

The vector of the probability distribution of an IHG model

References

D'Elia A. (2003). Modelling ranks using the inverse hypergeometric distribution, Statistical Modelling: an International Journal, 3, 65–78

Examples

1
2
3
4
5
m<-10
theta<-0.30
pr<-probihg(m,theta)
plot(1:m,pr,type="h",xlab="Ordinal categories")
points(1:m,pr,pch=19)


CUB documentation built on May 19, 2017, 4:24 p.m.
Search within the CUB package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs in the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.