difR: Collection of Methods to Detect Dichotomous, Polytomous, andContinuous Differential Item Functioning (DIF)
Methods to detect differential item functioning (DIF) in dichotomous, polytomous, and continuous items, using both classical and modern approaches. These include Mantel-Haenszel procedures, logistic regression (including ordinal models), and regularization-based methods such as LASSO. Uniform and non-uniform DIF effects can be detected, and some methods support multiple focal groups. The package also provides tools for anchor purification, rest score matching, effect size estimation, and DIF simulation. See Magis, Beland, Tuerlinckx, and De Boeck (2010, Behavior Research Methods, 42, 847–862, <doi:10.3758/BRM.42.3.847>) for a general overview.
| Version: | 6.1.0 |
| Depends: | R (≥ 3.0.0) |
| Imports: | mirt,ltm,lme4,deltaPlotR,DescTools,VGAM,glmnet,dplyr,tidyr,tibble,ggplot2 |
| Published: | 2025-11-29 |
| DOI: | 10.32614/CRAN.package.difR |
| Author: | David Magis [aut] (IQVIA Belux), Sebastien Beland [aut, cre] (Universite de Montreal), Carl F. Falk [aut] (McGill University), Gilles Raiche [aut] (UQAM), Adela Hladka [aut] (Institute of Computer Science of the Czech Academy of Sciences (nee Drabinova)), Josh Gilbert [aut] (Harvard Graduate School of Education-Harvard University) |
| Maintainer: | Sebastien Beland <sebastien.beland at umontreal.ca> |
| BugReports: | https://github.com/343Babou/difR/issues |
| License: | GPL-2 |GPL-3 [expanded from: GPL (≥ 2)] |
| URL: | https://github.com/343Babou/difR |
| NeedsCompilation: | no |
| Citation: | difR citation info |
| Materials: | NEWS |
| In views: | Psychometrics |
| CRAN checks: | difR results |
Documentation:
Downloads:
Reverse dependencies:
Linking:
Please use the canonical formhttps://CRAN.R-project.org/package=difRto link to this page.