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.

Package details

AuthorDavid Magis [aut] (IQVIA Belux), Sebastien Beland [aut, cre] (Universite de Montreal), Carl F. Falk [aut] (McGill University), Gilles Raiche [aut] (UQAM)
MaintainerSebastien Beland <sebastien.beland@umontreal.ca>
LicenseGPL (>= 2)
Version6.0.0
URL https://github.com/343Babou/difR
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:
install.packages("difR")

Try the difR package in your browser

Any scripts or data that you put into this service are public.

difR documentation built on June 8, 2025, 1:03 p.m.