R-DIF scaling functions for item intercepts/thresholds and slopes.
y_fun.RdComputes the a scaling function using the item thresholds (d) and slopes (a) in groups = {0, 1}. The options are:
"a_fun1": computesa2/a1"a_fun2": computeslog(a2/a1)"d_fun1": computes(d2 - d1)/a1for each threshold"d_fun2": computes(d2 - d1)/a2for each threshold"d_fun3": computes(d2 - d1)/sqrt((a1^2 + a2^2)/2)for each threshold
Arguments
- mle
the output of
get_model_parms- fun
one of
c("a_fun1", "a_fun2", "d_fun1", "d_fun2", "d_fun3"). See description for details.