simcub {CUB}R Documentation

Simulation routine for CUB models

Description

Generate n pseudo-random observations following the given CUB distribution.

Usage

simcub(n,m,pai,csi)

Arguments

n

Number of simulated observations

m

Number of ordinal categories

pai

Uncertainty parameter

csi

Feeling parameter

See Also

probcub00

Examples

n<-300
m<-9
pai<-0.4
csi<-0.7
simulation<-simcub(n,m,pai,csi)
plot(table(simulation),xlab="Ordinal categories",ylab="Frequencies")

[Package CUB version 1.1.4 Index]