Description Usage Arguments Value
This function selects the next item to be administered, given the list of previously administered items and the current ability estimate.
1 2 3 4 5 6 7 8 9 10 | getNextItem(
theta,
items,
itemsParameters,
itemsAnswered,
responses,
D = 1.7,
model = NULL,
criterion = "MFI"
)
|
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". |
character: Id of the next item to present
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.