sim_RSC: Simulate item responses from the one-parameter RSC model.

Description Usage Arguments Value

Description

Simulate item responses from the one-parameter RSC model.

Usage

1
sim_rsc(u, parms, theta1 = 0, theta2 = 0)

Arguments

u

the logit of the weight parameter of the RSC model.

parms

a data.frame with columns parms$alpha and parms$beta corresponding to the discrimination and difficulty parameters of the 2PL model, respectively.

theta1

the latent trait of member 1.

theta1

the latent trait of member 2.

Value

length(u) by nrow(parms) matrix of binary responses.


peterhalpin/cirt documentation built on May 25, 2019, 1:50 a.m.