item.logit | R Documentation |
Simulates responses following a 1PL or 2PL model given item parameters assuming normally distributed person parameters.
item.logit(z, slope = 1, thr)
z |
A vector of item difficulties. |
slope |
A vector of item discrimination parameters. Default is 1 and equals a 1PL model. |
thr |
A vector of item threshold parameters. |
A list with two matrices. First matrix includes the responses, seconds matrix includes the correct response probabilities.
Ulf Kroehne
z <- rnorm(30, 0, 1)
d <- item.logit(z = z, thr = 0)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.