difR: Collection of Methods to Detect Dichotomous and Polytomous Differential Item Functioning (DIF)

Methods to detect differential item functioning (DIF) in dichotomous and polytomous 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.0.0
Depends: R (≥ 3.0.0)
Imports: mirt, ltm, lme4, deltaPlotR, DescTools, VGAM, glmnet
Published: 2025-05-26
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)
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:

Reference manual: difR.pdf

Downloads:

Package source: difR_6.0.0.tar.gz
Windows binaries: r-devel: difR_6.0.0.zip, r-release: difR_6.0.0.zip, r-oldrel: difR_6.0.0.zip
macOS binaries: r-release (arm64): difR_6.0.0.tgz, r-oldrel (arm64): difR_6.0.0.tgz, r-release (x86_64): difR_6.0.0.tgz, r-oldrel (x86_64): difR_6.0.0.tgz
Old sources: difR archive

Reverse dependencies:

Reverse imports: DIFshiny, ShinyItemAnalysis, TestAnaAPP
Reverse suggests: LSAmitR

Linking:

Please use the canonical form https://CRAN.R-project.org/package=difR to link to this page.

mirror server hosted at Truenetwork, Russian Federation.