G(matrix,
NA.method = "NPModel", Save.MatImp = FALSE,
IP = NULL, IRT.PModel = "2PL", Ability = NULL, Ability.PModel = "ML",
mu = 0, sigma = 1)Gnormed(matrix,
NA.method = "NPModel", Save.MatImp = FALSE,
IP = NULL, IRT.PModel = "2PL", Ability = NULL, Ability.PModel = "ML",
mu = 0, sigma = 1)
"Hotdeck", "NPModel" (default), and "PModel".IP=NULL). The options available are "1PL", "2PL" (default), and "3PL".matrix.
In case no ability parameters are available then Ability=NULL.Ability=NULL). The options available are "ML" (default), "BM", and "WL".method="BM". Default is 0.method="BM". Default is 1.NA.method="PModel", otherwise NULL.NA.method="PModel", otherwise NULL.NA.method="PModel", otherwise NULL.NA.method="PModel", otherwise NULL.G counts the number of (0,1) pairs given that the items are ordered in decreasing proportion-correct scores order. However, G depends on the total number of items for a given number-correct score. In particular, for a number-correct $S$, G has maximum equal to $S(I-S)$. Gnormed was created to bound G between 0 and 1 by dividing it by its maximum (conditional on the number-correct score). Hence, (potentially) aberrant response behavior is indicated by large values of G/Gnormed (i.e., in the right tail of the sampling distribution).
Gnormed is perfectly linearly related to Tatsuoka and Tatsuoka's (1982, 1983) NCI statistic ($NCI = 1-2Gnormed$).
Missing values in matrix are imputed by one of three single imputation methods: Hotdeck imputation (NA.method = "Hotdeck"), nonparametric model imputation (NA.method = "NPModel"), and parametric model imputation (NA.method = "PModel"); see Zhang and Walker (2008).
IRT.PModel = "1PL","2PL", or"3PL"). Item parameters (IP) and ability parameters (Ability) may be provided for this purpose (otherwise the algorithm finds estimates for these parameters).Meijer, R. R. (1994) The number of Guttman errors as a simple and powerful person-fit statistic. Applied Psychological Measurement, 18(4), 311--314.
Meijer, R. R., and Sijtsma, K. (2001) Methodology review: Evaluating person fit. Applied Psychological Measurement, 25(2), 107--135.
Tatsuoka, K. K., and Tatsuoka, M. M. (1982) Detection of aberrant response patterns and their effect on dimensionality. Journal of Educational Statistics, 7(3), 215--231.
Tatsuoka, K. K., and Tatsuoka, M. M. (1983) Spotting erroneous rules of operation by the individual consistency index. Journal of Educational Measurement, 20(3), 221--230.
van der Flier, H. (1977) Environmental factors and deviant response patterns. In Y. H. Poortinga (Ed.), Basic problems in cross-cultural psychology. Amsterdam: The Netherlands.
Zhang, B., and Walker, C. M. (2008) Impact of missing data on person-model fit and person trait estimation. Applied Psychological Measurement, 32(6), 466--479.
NCI# Load the inadequacy scale data (dichotomous item scores):
data(InadequacyData)
# Compute the G scores:
G.out <- G(InadequacyData)
# Compute the Gnormed scores:
Gnormed.out <- Gnormed(InadequacyData)Run the code above in your browser using DataLab