Learn R Programming

CUB (version 0.1)

iniihg: Moment estimate for the preference parameter of the IHG distribution

Description

Compute the moment estimate of the preference parameter of the IHG distribution. This preliminary estimate is set as initial value within the optimization procedure for an IHG model fitting the observed frequencies.

Usage

iniihg(m, freq)

Arguments

m
Number of ordinal categories
freq
Vector of length $m$ of the absolute frequency distribution of the categories

Value

Moment estimator of the preference parameter $\theta$

References

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

See Also

IHG

Examples

Run this code
m<-9
freq<-c(70, 51, 48, 38, 29, 23, 12, 10, 5)
initheta<-iniihg(m, freq)

Run the code above in your browser using DataLab