SimulateData {TestGardener} | R Documentation |
Simulate Choice Data from a Previous Analysis
Description
Simulation of data using a previous analysis requires only an ICC vector and two objects computed by function theta.distn
along with a specification of the number of simulated the simulated persons.
Usage
SimulateData(nsim, indfine, denscdf, SfdList)
Arguments
nsim |
Number of persons having simulated choices. |
indfine |
The score index values within [0,100] that are
associated with the cumulative probability values in
|
denscdf |
The cumulative probability values within [0,1]. The values have to be discrete, begin with 0 and end with 1. |
SfdList |
List vector of length n of list vectors for item objects. |
Details
Arguments indfine
and denscdf
can be obtained from
the original analysis, but also can be specified to describe
a different distribution of score index values.
Value
An nsim by n matrix of integers including 1 and 2 that specify each person's option choice for each item.
Author(s)
Juan Li and James Ramsay
References
Ramsay, J. O., Li J. and Wiberg, M. (2020) Full information optimal scoring. Journal of Educational and Behavioral Statistics, 45, 297-315.
Ramsay, J. O., Li J. and Wiberg, M. (2020) Better rating scale scores with information-based psychometrics. Psych, 2, 347-360.
See Also
dataSimulation
,
chcemat_simulate
Examples
# example code to be set up