getNextItem: Computes next item to present

Description Usage Arguments Value

View source: R/cat.R

Description

This function selects the next item to be administered, given the list of previously administered items and the current ability estimate.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
getNextItem(
  theta,
  items,
  itemsParameters,
  itemsAnswered,
  responses,
  D = 1.7,
  model = NULL,
  criterion = "MFI"
)

Arguments

theta

numeric: the ability estimate

items

character: vector of items Ids

itemsParameters

numeric: matrix of the parameters of all available items

itemsAnswered

numeric: vector of the position of answered items in the "items" vector

responses

numeric: vector of responses to previous items

D

numeric: metric constant (1 for logistic models, 1.7 for normal models)

model

Either NULL for dichotomous models, or one of the following for polytomous models : "GRM", "MGRM", "PCM", "GPCM", "RSM" and "NRM"

criterion

character: method for next item selection. Possible values are : "MFI", "bOpt", "thOpt", "MLWI", "MPWI", "MEI", "MEPV", "progressive", "proportional", "KL", "KLP", "GDI", "GDIP" and "random".

Value

character: Id of the next item to present


LearningRaph/felix documentation built on Nov. 22, 2019, 8:07 a.m.