Description Usage Arguments Details Value Author(s) See Also Examples
Simulates Rasch models including (or not) discrimination parameters and a regression component.
1 |
n |
Number of observations. |
delta |
Numeric vector of difficulty parameters. |
alpha |
Numeric vector of (strictly positive) discrimination parameters. |
gamma |
Numeric vector of pseudo-guessing parameters. Each value should belong to the [0,1) interval. |
reg |
Numeric matrix of |
beta |
Numeric vector of regression coefficients (Length p). |
ability |
logical; if TRUE, simulated abilities are given along the items. |
If difficulty parameters are not specified, they assume values in the interval from -2 to 2. If discrimination parameters are not specified they assume the default value of 1. If pseudo-guessing parameters are not specified they assume the default value of 0.
sim_rasch
returns an object of class "matrix" containing the simulated items and an extra column with the abilities (if ability = TRUE
). The dimension of the result is determined by n
and J + 1
.
Fernando Massa, fmassa@iesta.edu.uy
1 2 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.