prob: Probability of answer given item and theta.

Description Usage Arguments Details Value

Description

Returns a vector (for G3PLM) or a matrix (GRM,SM or GPCM) of probabilities for one or more items, given a specified ability (vector).

Usage

1
prob(theta = 0, items, model = items$model)

Arguments

theta

Numeric, vector of length Q ability parameters.

items

Itembank, or a subset of items from an itembank. See also genItembank

model

Character, IRT response model. Can be any of "G3PL", "GRM", "SM" or "GPCM".

Details

Detailed description, response models.

Value

List with two entries, a vector or matrix p of probabilites per item/category, and a vector p0 of probabilities defined as p0 = q = 1 - sum(P_ij)


Karel-Kroeze/MCAT documentation built on May 8, 2019, 4:50 p.m.