Learn R Programming

conquestr (version 1.4.5)

rawScore: rawScore

Description

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

Usage

rawScore(x, itemParams, perfAdjust = 0.3)

Value

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

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.