Global-discrimination index can be used as a rule for selecting the next item in the CAT process (Kaplan, de la Torre, and Barrada, 2015). This command serves as a subroutine for the nextItem
function.
Dichotomous IRT models are considered whenever model
is set to NULL
(default value). In this case, itemBank
must be a matrix with one row per item and four columns, with the values of the discrimination, the difficulty, the pseudo-guessing and the inattention parameters (in this order). These are the parameters of the four-parameter logistic (4PL) model (Barton and Lord, 1981).
Currently both GDI and GDIP are not implemented for polytomous IRT models.
The integrals within GDI and GDIP are approximated by the integrate.catR
function. The range of integration is set up by the arguments lower
, upper
and nqp
, giving respectively the lower bound, the upper bound and the number of quadrature points. The default range goes from -4 to 4 with length 33 (that is, by steps of 0.25).
To speed up the computation, both the range of integration of values \(\theta\) and the values of the likelihood function \(L(\theta)\) can be directly provided to the function through the arguments X
and lik
. If X
is set to NULL
(default), the sequence of ability values for integration is determined by the arguments lower
, upper
and nqp
as explained above. If lik
is NULL
(default), it is also internally computed from an implementation of the likelihood function.
The provisional response pattern and the related item parameters are provided by the arguments x
and it.given
respectively. The target item (for which the KL information is computed) is given by its rank number in the item bank, through the item
argument.
The argument type
defines the type of KL information to be computed. The default value, "GDI"
, computes the GDI indexinformation, while the posterior GDI index is obtained with type="GDIP"
. For the latter, the priorDist
and priorPar
arguments fix the prior ability distribution. The normal distribution is set up by priorDist="norm"
and then, priorPar
contains the mean and the standard deviation of the normal distribution. If priorDist
is "unif"
, then the uniform distribution is considered, and priorPar
fixes the lower and upper bounds of that uniform distribution. By default, the standard normal prior distribution is assumed. These arguments are ignored whenever method
is "GDI"
.