simihg | R Documentation |
Generate n
pseudo-random observations following the given IHG distribution.
simihg(n,m,theta)
n |
Number of simulated observations |
m |
Number of ordinal categories |
theta |
Preference parameter |
probihg
n<-300
m<-9
theta<-0.4
simulation<-simihg(n,m,theta)
plot(table(simulation),xlab="Number of categories",ylab="Frequencies")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.