Description Usage Arguments Value
This is a wrapper for sim_RSC that saves the data generating parms and allows for multple response patterns per group. To generate data from a 2PL model, set theta1 = theta2 and w = 1/2.
1 2 |
n_reps |
integer indicating how many datasets to generate. |
u |
the logit of the weight parameter of the RSC model. |
parms |
a data.frame with columns |
theta1 |
the latent trait for member 1. |
theta2 |
the latent trait for member 2. |
theta1_se |
the standard error of the latent trait for member 1 (optional). If included, data generation samples |
theta2_se |
the standard error of the latent trait for member 2 (optional). If included, data generation samples |
NA_pattern |
an (optional) |
A data.frame with length(u) rows containing an id variable for each pair and each sample, the data generating values of u, theta1, and theta2, and the simulated response patterns.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.