thetaScore: thetaScore

View source: R/generateHelpers.R

thetaScoreR Documentation

thetaScore

Description

Return score (O-E) at theta. Used in estimation of theta by minimising raw score - expected score at theta

Usage

thetaScore(theta, responses, itemParams, perfAdjust = 0.3)

Arguments

theta

a scalar value of theta.

responses

a vector of item responses for one case (can contain NA). Responses are in the same order as items

itemParams

a list of item designs (each used in a call to simplef). Must be of same length as responses.

perfAdjust

the correction factor for zeros and perfects to be add/subtracted from the raw score.

Value

a double, the score (O-E) at theta.


conquestr documentation built on March 31, 2023, 6:02 p.m.