Wald tests of differential item functioning (DIF).
dif_test.RdA Wald test of DIF on each item. Called internally by rdif
Arguments
- object
either the output of
get_model_parmsor anrdifobject fromrdif.- theta
the estimated scaling parameter from
rdif- fun
one of
c("a_fun1", "a_fun2", "d_fun1", "d_fun2", "d_fun3"). See description for details.
Examples
# \donttest{
mod <- rdif(mle = rdif.eg)
#> Error: object 'rdif.eg' not found
dif_test(object = rdif.eg, theta = mod$est)
#> Error: object 'rdif.eg' not found
dif_test(mod)
#> Error: object 'mod' not found
# }