testInfoOverTheta function

testInfoOverTheta

testInfoOverTheta

Calculates test information over a range of theta given a list of matricies of item parameters for one or more items. Returns a data frame with item information at a discrete set of values of theta. This is useful for plotting test information functions.

testInfoOverTheta(myItems, minTheta = -6, maxTheta = 6, stepTheta = 0.1)

Arguments

  • myItems: a list of item parameters of the structure used in simplef
  • minTheta: The smallest value of ability PDF to calculate info and to plot. Defaults to -6.
  • maxTheta: The largest value of ability PDF to calculate info and to plot. Defaults to 6.
  • stepTheta: The increment to iterate over the ability PDF. Defaults to 0.01.

Examples

anItem <- matrix(c(0,0,0,1,1,1,0,1), nrow = 2, byrow = TRUE) testInfoOverTheta(list(anItem))
  • Maintainer: Dan Cloney
  • License: GPL-3
  • Last published: 2025-02-19