View source: R/IRT-Functions.R
dif_irt | R Documentation |
Conducts DIF analysis in an item response theory framework using the iterative Wald procedure (Cao et al., 2017; Tay et al., 2015; Woods et al., 2013)
dif_irt(item.data, dif.groups, item.type, method, Wald)
item.data |
data frame of item responses with subjects in rows and items in columns |
dif.groups |
factor vector of group membership for which DIF is evaluated. |
item.type |
For IRT, the type of model to fit for each item. The default is |
The process begins by conducting an omnibus test of DIF by comparing the fit of no DIF, uniform DIF,
and non-uniform DIF models. All models are run with multipleGroup
.
Specifically, in step 1, the no DIF model is run with parameters estimated freely between the dif.groups
.
The latent trait mean and variance for the focal group are saved. In step 2, the uniform DIF model is estimated
while constraining the latent trait parameters for the focal group to those in step 1 and constraining
the item slopes to be equal across dif.groups
. The non-uniform DIF model is then estimated by
adding equality constraints to the item intercepts or thresholds. Model fit is compared between the
No DIF and uniform DIF, and between the uniform DIF and non-uniform DIF models with a likelihood ratio test.
If no DIF is detected through the model comparisons, the process concludes. Otherwise, the specific item(s)
with DIF are identified in steps 3 and 4 using DIF
. This two-step process is sometimes
referred to as the initial and refinement steps for identifying anchor items and items with DIF.
A list containing
DIF model comparisons
item-level DIF tests
integer vector of the items showing DIF (i.e., biased items)
type of DIF
IRT models needed for treatment effect robustness check
Cao, M., Tay, L., & Liu, Y. (2017). A Monte Carlo study of an iterative Wald test procedure for DIF analysis. *Educational and Psychological Measurement, 77*(1), 104-118. doi:10.1177/0013164416637104 Tay, L., Meade, A. W., & Cao, M. (2015). An overview and practical guide to IRT measurement equivalence analysis. *Organizational Research Methods, 18*(1), 3-46. doi:10.1177/1094428114553062 Woods, C. M., Cai, L., & Wang, M. (2013). The Langer-improved Wald test for DIF testing with multiple groups: Evaluation and comparison to two-group IRT. *Educational and Psychological Measurement, 73*(3), 532-547. doi:10.1177/0013164412464875
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.