rsd: Root Square Difference

Description Usage Arguments Value Author(s) References See Also Examples

Description

The root square difference index (RSD) is a conditional index of the absolute differences between a single subpopulation j's equated score, y_j(x), and the equated score based on the overall population, y(x). Formally,

RSDj(x)=|y_j(x)-y(x)|/s,

where x is a score on the original (i.e., unequated) scale, and s is the standard deviation of x scores in the (sub)population of interest. It is considered a group-to-overall, conditional index. It was adapted from Yang's RESDj (2004) by Huggins and Penfield (2012). It provides practitioners with the magnitude of differences between a single subpopulation's equated scores and the equated score based on the overall population, at each score level on the original score scale.

Usage

1
rsd(x, o, g, d, s, ymax, xlab, color)

Arguments

x

a column vector of scores on which the rsd is conditioned

o

a column vector of equated scores based on the overall population (aligned with elements in x)

g

a column vector of equated scores based on a single subpopulation (aligned with elements in x)

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 rsd)

ymax

A maximum value for the y axis of the plot (default = 3 + the maximum RSD value)

xlab

A label for the x axis of the plot (default = Score Scale)

color

of RSD line and points on plot (default = red)

Value

A data frame of root square difference indices, conditioned on the score scale

A plot of the RSD in reference to the difference that matters

Author(s)

Anne Corinne Huggins-Manley

References

See Also

resd

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
#Unstandardized RSD for subpopulation 1 in the example data set, ex.data
rsd(x=ex.data[,1],o=ex.data[,2],g=ex.data[,3],d=.5)

#Unstandardized RSD for subpopulation 5 in the example data set, ex.data
rsd(x=ex.data[,1],o=ex.data[,2],g=ex.data[,7],d=.5)

#Unstandardized RSD for subpopulation 5 in the example data set, ex.data 
#with adjustments to the maximum y-axis on the plot, a new x label, 
#and points/line in green
rsd(x=ex.data[,1],o=ex.data[,2],g=ex.data[,7],d=.5,ymax=3,xlab="Old Form",color="green")

#Standardized RSD for subpopulation 5 in the example data set, ex.data
rsd(x=ex.data[,1],o=ex.data[,2],g=ex.data[,7],d=.5,s=4.2)

Example output

    x  rsd
1   0 0.03
2   1 0.21
3   2 0.54
4   3 0.40
5   4 0.59
6   5 0.36
7   6 0.38
8   7 0.32
9   8 0.27
10  9 0.10
11 10 0.22
12 11 0.27
13 12 0.81
14 13 0.14
15 14 0.29
16 15 0.37
17 16 0.91
18 17 0.50
19 18 0.83
20 19 0.34
21 20 0.98
    x  rsd
1   0 1.04
2   1 1.21
3   2 0.90
4   3 0.62
5   4 1.33
6   5 0.98
7   6 0.93
8   7 1.52
9   8 1.81
10  9 2.27
11 10 2.20
12 11 2.28
13 12 2.48
14 13 3.14
15 14 2.56
16 15 2.56
17 16 2.09
18 17 1.92
19 18 1.09
20 19 0.60
21 20 0.04
    x  rsd
1   0 1.04
2   1 1.21
3   2 0.90
4   3 0.62
5   4 1.33
6   5 0.98
7   6 0.93
8   7 1.52
9   8 1.81
10  9 2.27
11 10 2.20
12 11 2.28
13 12 2.48
14 13 3.14
15 14 2.56
16 15 2.56
17 16 2.09
18 17 1.92
19 18 1.09
20 19 0.60
21 20 0.04
    x        rsd
1   0 0.24761905
2   1 0.28809524
3   2 0.21428571
4   3 0.14761905
5   4 0.31666667
6   5 0.23333333
7   6 0.22142857
8   7 0.36190476
9   8 0.43095238
10  9 0.54047619
11 10 0.52380952
12 11 0.54285714
13 12 0.59047619
14 13 0.74761905
15 14 0.60952381
16 15 0.60952381
17 16 0.49761905
18 17 0.45714286
19 18 0.25952381
20 19 0.14285714
21 20 0.00952381

SEAsic documentation built on May 2, 2019, 2:09 p.m.

Related to rsd in SEAsic...