G(matrix)
Gnormed(matrix)
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$).NCI
# Load the inadequacy scale data (dichotomous item scores):
data(InadequacyData);
# Compute the G scores:
G(InadequacyData);
# Compute the Gnormed scores:
Gnormed(InadequacyData);
Run the code above in your browser using DataLab