deriv: Derivatives

Description Usage Arguments Details Value

Description

First and second order derivatives of the specified model, for the specified parameters.

Usage

1
deriv(theta, items, resp, model = "GPCM", prior = NULL)

Arguments

theta

Person parameter.

items

Itembank, see genItembank.

resp

Response pattern for the Itembank. Note that all items in the itembank need a corresponding response.

model

IRT model, see MCAT. Defaults to GPCM.

prior

Covariance matrix if a prior should be included, NULL otherwise. Defaults to NULL. # Do we have to do something here for information? I.e. don't sum it?

Details

Details

Value

If sum == TRUE a list containing a matrix of first order derivatives, and a list of matrices holding the second order derivatives per item. otherwise a vector with the sum of first order derivatives and a matrix with the sum of second order derivatives. TODO: <- THIS


Karel-Kroeze/MCAT documentation built on May 8, 2019, 4:50 p.m.