Learn R Programming

conquestr (version 1.4.5)

thetaScore: 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)

Value

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

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.