Description Usage Arguments Value
Draws binary data randomly for given item intercepts, DIF-parameters, covariate values and person parameters. (Based on easiness parameters.)
1 | simulate_DIF_data(betas, delta, covariates, thetas = 0)
|
betas |
beta_intercepts for all items (vector) |
delta |
values for DIF-parameters as matrix per item (cols) per covariate (rows) |
covariates |
Matrix of covariate values of all persons (n x ncovs) |
thetas |
vector of person parameters |
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.