IRF: The IRF for the two parameter logistic model.

Description Usage Arguments Value

View source: R/IRF_functions.R

Description

Computes a matrix of probabilities for correct responses under 2PL model.

Usage

1
IRF(parms, theta)

Arguments

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) by nrow(parms) matrix of response probabilities.


peterhalpin/scirt documentation built on May 5, 2019, 1:38 p.m.