J: Numerator of penalty used in WML.

Description Usage Arguments Value

Description

Computes equation 15 of Magis & Raiche (2012). For 2PL, this is also the derivative of the test info.

Usage

1
J(resp, parms, theta)

Arguments

resp

a matrix or data.frame containing the binary item responses with NA for missing responses (used omit missing responses).

parms

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

theta

the latent trait.

Value

length(theta) vector of derivatives of test information.


peterhalpin/BearShare documentation built on May 25, 2019, 12:48 a.m.