rawScore function

rawScore

rawScore

returns the adjusted (for zero and perfects) and unadjusted raw scores as well as the maximum score.

rawScore(x, itemParams, perfAdjust = 0.3)

Arguments

  • x: a vector of scored item responses. Order of item responses is the same as the order of itemParams, missing item responses are scored NA.
  • itemParams: A list of item params of the structure used in simplef (a matrix of k categories by three (category score, delta dot, tau)). See conquestr::makeItemList for a helper to generate this list.
  • perfAdjust: the correction factor for zeros and perfects to be add/subtracted from the raw score.

Returns

a list containing three elements: (1) raw score (unadjusted), (2) raw score (adjusted), (3) maximum score.

  • Maintainer: Dan Cloney
  • License: GPL-3
  • Last published: 2025-02-19