powered by
Generate \(n\) pseudo-random observations following the given IHG distribution.
simihg(n,m,theta)
Number of simulated observations
Number of ordinal categories
Preference parameter
probihg
n<-300 m<-9 theta<-0.4 simulation<-simihg(n,m,theta) plot(table(simulation),xlab="Number of categories",ylab="Frequencies")
Run the code above in your browser using DataLab