Description Usage Arguments Value
Draws binary data randomly for given item intercepts, DIF-parameters, covariate values and person parameters. Returns a list with the simulated data and all the parameters used to draw the sample.
1 2 3 4 5 6 7 8 9 10 |
npersons |
number of persons |
nitems |
number of items |
ncovs |
number of covariates |
seed |
seed to be set for simulation |
betavalues |
beta_intercepts for all items (vector) |
deltavalues |
values for DIF-parameters as matrix per item (cols) per covariate (rows) |
thetavalues |
vector of person parameters |
covariatevalues |
Matrix of covariate values of all persons (n x ncovs) |
randomly drawn response matrix for DIF-model and given parameters
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.