dJ: Derviative of J.

Description Usage Arguments Value

Description

Computes the derivative of J (for 2PL, second derivative of test info).

Usage

1
dJ(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 J.


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