Learn R Programming

emreliability (version 1.0.0)

csem_info: CSEM of IRT Model via Information

Description

Compute the CSEM for a unidimensional IRT model using either MLE- or EAP-based test information.

Usage

csem_info(theta, ip, est = c("MLE", "EAP"))

Value

A list containing:

  • theta — vector of ability values.

  • csemMLE — CSEM values for MLE (if est = "MLE").

  • csemEAP — CSEM values for EAP (if est = "EAP").

Arguments

theta

A numeric vector (or object coercible to a numeric vector) containing the ability values at which to compute CSEM.

ip

A data frame or matrix of item parameters. Columns are interpreted in the same way as in info():

  • 3 columns: b, a, c (3PL; a on the D = 1.702 metric),

  • 2 columns: b, a (2PL; c internally set to 0),

  • 1 column: b (1PL/Rasch; a = 1, c = 0).

est

A character string specifying the estimation method: "MLE" for maximum likelihood or "EAP" for empirical Bayes.