Calculates the percent relative error (PRE) between an equated distribution and the reference distribution for the first ten moments.
PREp(eq, obs, r, s)
Arguments
eq: A numeric vector containing the equated values from X to Y or Y to X.
obs: The score vector of test Y or X.
r: A vector of probabilities corresponding to the equated values.
s: A vector of probabilities corresponding to the score values of test Y or X.
Details
If we equate test X to test Y, then we have equated values eYx with estimated probabilities r and estimated probabilities s for the score values on Y. To compare the moments between these two distributions, we can calculate the percent relative error (PRE) between them. If we denote the p:th moment of Y and eYx by μ(Y) and μ(eYx) respectively, the PRE for moment p is defined as
PRE(p)=μ(Y)100μ(eYx)−μ(Y).
Returns
A numeric vector containing the percentage relative error for the first ten moments.
References
Andersson, B., Branberg, K., Wiberg, M. (2013). Performing the Kernel Method of Test Equating with the Package kequate . Journal of Statistical Software, 55(6) , 1--25. <doi: 10.18637/jss.v055.i06>
von Davier, A.A., Holland, P.W., Thayer, D.T. (2004). The Kernel Method of Test Equating. Springer-Verlag New York.