simcube | R Documentation |
Generate n
pseudo-random observations following the given CUBE
distribution.
simcube(n,m,pai,csi,phi)
n |
Number of simulated observations |
m |
Number of ordinal categories |
pai |
Uncertainty parameter |
csi |
Feeling parameter |
phi |
Overdispersion parameter |
probcube
n<-300
m<-9
pai<-0.7
csi<-0.4
phi<-0.1
simulation<-simcube(n,m,pai,csi,phi)
plot(table(simulation),xlab="Ordinal categories",ylab="Frequencies")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.