Learn R Programming

catR (version 2.2)

MEI: (Maximum) Expected Information (MEI)

Description

This command returns the expected information (EI) for a given item, as used for Maximum Expected Information (MEI) criterion.

Usage

MEI(itemBank, item, x, theta, it, method="BM", priorDist="norm",
 	priorPar=c(0,1), D=1, range=c(-4,4), parInt=c(-4,4,33),
 	infoType="observed")

Arguments

itemBank
an item bank, i.e. a list of class itBank, typically an output of the function createItemBank.
item
numeric: the item (referred to as its rank in the item bank) for which the maximum information must be computed.
x
binary: a vector of item responses, coded as 0 or 1 only.
theta
numeric: the provisional ability estimate.
it
numeric: 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). The number of rows of it must be equal to the
method
character: the ability estimator. Possible values are "BM" (default), "ML" and "WL". See Details.
priorDist
character: specifies the prior distribution. Possible values are "norm" (default), "unif" and "Jeffreys". Ignored if method is neither "BM" nor "EAP". See Details.
priorPar
numeric: vector of two components specifying the prior parameters (default is c(0,1)) of the prior ability distribution. Ignored if method is neither "BM" nor "EAP", or if priorDist="Jeffreys"
D
numeric: the metric constant. Default is D=1 (for logistic metric); D=1.702 yields approximately the normal metric (Haley, 1952).
range
numeric: vector of two components specifying the range wherein the ability estimate must be looked for (default is c(-4,4)). Ignored if method=="EAP".
parInt
numeric: vector of three components, holding respectively the values of the arguments lower, upper and nqp of the eapEst command. Default vector is (-4, 4, 33). Ignor
infoType
character: the type of information function to be used. Possible values are "observed" (default) for observed information function, and "Fisher" for Fisher information function.

Value

  • The required maximum expected information for the selected item.

Details

The MEI (van der Linden, 1998; van der Linden and Pashley, 2000) can be used as a rule for selecting the next item in the CAT process (see also Choi and Swartz, 2009). This command serves as a subroutine for the nextItem function. Let k be the number of administered items, and set $x_1, ..., x_k$ as the provisional response pattern. Set $\hat{\theta}_k$ as the provisional ability estimate (with the first k responses) and let j be the item of interest (not previously administered). Set also $P_j(\theta)$ as the probability of answering item j correctly for a given ability level $\theta$, and set $Q_j(\theta)=1-P_j(\theta)$. Finally, set $\hat{\theta}_{k+1}^0$ and $\hat{\theta}_{k+1}^1$ as the ability estimates computed under the condition that the response to item j is 0 or 1 respectively (that is, if the response pattern is updated by 0 or 1 for item j). Then, the MEI for item j equals $$MEI_j = P_j(\hat{\theta}_k)\,I_j(\hat{\theta}_{k+1}^1) + Q_j(\hat{\theta}_k)\,I_j(\hat{\theta}_{k+1}^0)$$ where $I_j(\theta)$ is the information function for item j. Two types of information functions are available. The first one is the observed information function, defined as $$I_j(\theta) = -\frac{\partial^2}{\partial\,\theta^2} \,\log P_j(\theta).$$ (van der Linden, 1998). The second one is Fisher information function: $$I_j(\theta) = -E\,\left[\frac{\partial^2}{\partial\,\theta^2} \,\log P_j(\theta)\right].$$ Under the 1PL and the 2PL models, these functions are identical (Veerkamp, 1996). The observed and Fisher information functions are specified by the infoType argument, with respective values "observed" and "Fisher". By default, the observed information function is considered (Choi and Swartz, 2009; van der Linden, 1998). The estimator of provisional ability is defined by means of the arguments method, priorDist, priorPar, D, range and parInt of the thetaEst function. See the corresponding help file for further details. The item bank is provided through the argument itemBank. The provisional response pattern and the related item parameters are provided by the arguments x and it respectively. The target item (for which the maximum information computed) is given by its number in the item bank, through the item argument.

References

Choi, S. W., and Swartz, R. J. (2009). Comparison of CAT item selection criteria for polytomous items. Applied PScyhological Measurement, 32, 419-440. Haley, D.C. (1952). Estimation of the dosage mortality relationship when the dose is subject to error. Technical report no 15. Palo Alto, CA: Applied Mathematics and Statistics Laboratory, Stanford University. Magis, D., and Raiche, G. (in press). Random generation of response patterns under computerized adaptive testing with the R package catR. Journal of Statistical Software. van der Linden, W. J. (1998). Bayesian item selection criteria for adaptive testing. Psychometrika, 63, 201-216. van der Linden, W. J., and Pashley, P. J. (2000). Item selection and ability estimlation in adaptive testing. In W. J. van der Linden and C. A. W. Glas (Eds.), Computerized adaptive testing. Theory and practice (pp. 1-25). Boston, MA: Kluwer. Veerkamp, W. J. J. (1996). Statistical inference for adaptive testing. Internal report. Enschede, The Netherlands: University of Twente.

See Also

Ii, OIi, nextItem, integrate.xy, thetaEst

Examples

Run this code
# Loading the 'tcals' parameters 
 data(tcals)

 # Selecting item parameters only
 tcals <- as.matrix(tcals[,1:4])
 
 # Item bank creation with 'tcals' item parameters
 bank <- createItemBank(tcals)

 # Selection of two arbitrary items (15 and 20) of the
 # 'tcals' data set
 it <- bank$itemPar[c(15,20),]

 # Creation of a response pattern
 x <- c(0,1)

 # MEI for item 1, provisional ability level 0
 MEI(bank, 1, x, 0, it)

 # With Fisher information instead
 MEI(bank, 1, x, 0, it, infoType="Fisher")

 # With WL estimator instead
 MEI(bank, 1, x, 0, it, method="WL")

Run the code above in your browser using DataLab