Description Usage Arguments Value References Examples
Data generating process for multidimensional Rasch models (only two dimensions are supported at the moment)
1 2 3 4 5 6 7 8 9 10 11 12 13 |
nobs |
positive integer, number of total observations (default 1000) or positive integer vector vector of length 2, number of observations per group |
tlength |
interger > 0, test length (number of items) |
DIFpercent |
percentage of DIF items in the test |
Nr.dim |
positive integer, number of dimensions (default 2) |
Theta |
matrix of the underlying ability parameters (optional) |
discriminations |
binary matrix of size tlength x Nr.dim, item discrimination parameter matrix |
difficulties |
numeric vector of length tlength, item difficulty vector |
DIF_mode |
string, mode how DIF items are created, default: intersect. |
d_distr |
d_distr: parameters for normal distribution to generate item difficulties difficulties, default: mean = 0, sd = .2 |
MultiNorm |
list with parameters for multivariate normal distribution to generate the abilities of the test takers in group 1 and group 2, respectively. |
itemtype |
type of items (default "dich" which corresponds to multidimensional Rasch model items) |
list consisting of:
dat: binary response matrix
groups: group vector (factor),
discriminations: binary matrix containing the item discrimination parameter matrix,
difficulties: item difficulty vector,
DIFindex: indicating which items were generated with DIF,
Theta,
DIFside: which group is favored, default focal group is favored
Credit: Data is generated using the function simdata from mirt (Version: 1.32.1):
R. Philip Chalmers (2012). mirt: A Multidimensional Item Response Theory Package for the R Environment. Journal of Statistical Software, 48(6), 1-29.
1 | # For examples, see ?getData.
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.