irt_gen {lsasim} | R Documentation |
Simulate item responses from an item response model
Description
Creates a data frame of item parameters.
Usage
irt_gen(theta, a_par = 1, b_par, c_par = 0, D = 1)
Arguments
theta |
numeric ability estimate. |
a_par |
numeric discrimination parameter. |
b_par |
numeric or vector of numerics difficulty parameter(s). |
c_par |
numeric guessing parameter. |
D |
numeric parameter to specify logistic (1) or normal (1.7). |
Examples
irt_gen(theta = 0.2, b_par = 0.6)
irt_gen(theta = 0.2, a_par = 1.15, b_par = 0.6)
irt_gen(theta = 0.2, a_par = 1.15, b_par = 0.6, c_par = 0.2)
[Package lsasim version 2.1.5 Index]