powered by
With this function data sets according to the dichotomous Rasch model (DRM) are simulated
simDRM(itempar, persons = 500, seed = NULL)
a vector with item difficulty parameters
number of persons for the generated data set
a seed for the random number generated can optionally be set
simulated data set
the fixed item parameters according to the input
the fixed person parameters
Data are generated with category values 0 and 1.
Person parameters are generated by a standard normal distribution.
Fischer, G. H. (1974). Einfuehrung in die Theorie psychologischer Tests [Introduction to test theory]. Bern: Huber.
simMPRMsimCRSM
simMPRM
simCRSM
# NOT RUN { #set item parameters item_p <- c(-1.5,-0.3,0,0.3,1.5) #number of persons pn <- 500 #simulate data set simdatD <- simDRM(item_p, pn) # }
Run the code above in your browser using DataLab