N: Multiplier for second deriviative of log-likelihood of 2PL.

Description Usage Arguments Value

Description

Similar to M, but for the second derivatives. Called by functions that compute second derivative of the log-likelihood.

Usage

1
N(resp, parms, theta, obs = F)

Arguments

resp

a matrix or data.frame containing the binary item 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.

obs

logical: should the observed value be returned? If not, the expected value is returned.

Value

dim(resp)-matrix of multipliers.


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