Learn R Programming

SEAsic (version 0.1)

maxd: Maximum Difference

Description

The maximum difference index, $MAXD$, locates the maximum absolute difference between conditional subpopulation equated scores, $y_j(x)$, and the equated scores based on the overall population, $y(x)$. Formally, $$MAXD=\frac{\mbox{max}\lbrack\mid y_j(x)-y(x)\mid\rbrack}{\sigma_x},$$ where $x$ is a score on the original (i.e., not equated) scale and $s$ is the standard deviation of $x$ scores in the (sub)population of interest. It is considered an omnibus, conditional index. It was originally presented by Dorans and Holland (2000). It provides practitioners with the maximum difference found between any one subpopulation's equated scores and the equated scores based on the overall population, at each level of the original scale.

Usage

maxd(x, o, g, n, d, s, ymax, xlab, color)

Arguments

x
a column vector of scores on which the maximum difference is conditioned
o
a column vector of equated scores based on the overall population (aligned with elements in x)
g
column vectors of equated scores based on various subpopulations (aligned with elements in x)
n
a scalar indicating the number of groups
d
a scalar of the difference that matters
s
a scalar representing the standard deviation of x for any (sub)population of interest (e.g., synthetic population) (default is 1, which leads to calculation of the unstandardized maxd)
ymax
A maximum value for the y axis of the plot (default = 3 + the maximum maxD value)
xlab
A label for the x axis of the plot (default = Score Scale)
color
color of maxD line and points on plot (default = red)

Value

A data frame of maximum difference indices, conditioned on the score scaleA plot of the maximum difference indices in reference to the difference that matters

References

  • Dorans, N.J., & Holland, P.W. (2000). Population invariance and the equitability of tests: Theory and the linear case. Journal of Educational Measurement, 37, 281-306.

See Also

emaxd

Examples

Run this code
#Unstandardized MAXD across subpopulation 1 and subpopulation 2 in the example data set, ex.data
maxd(x=ex.data[,1],o=ex.data[,2],
g=c(ex.data[,3],ex.data[,4]),
n=2,d=.5)

#Unstandardized MAXD across subpopulations 1 thru 5 in the example data set, ex.data
maxd(x=ex.data[,1],o=ex.data[,2],
g=c(ex.data[,3],ex.data[,4],ex.data[,5],ex.data[,6],ex.data[,7]),
n=5,d=.5)

#Standardized MAXD across subpopulations 1 thru 5 in the example data set, ex.data
maxd(x=ex.data[,1],o=ex.data[,2],
g=c(ex.data[,3],ex.data[,4],ex.data[,5],ex.data[,6],ex.data[,7]),
n=5,d=.5,s=4.2)

Run the code above in your browser using DataLab