Package: iDIFr 1.0.1

Thomas Rogers

iDIFr: Intersectional Differential Item Functioning Analysis

A toolkit for detecting Differential Item Functioning (DIF) using Logistic Regression (LR) as described in Swaminathan and Rogers (1990) <doi:10.1111/j.1745-3984.1990.tb00754.x>, the IRT Likelihood Ratio Test (LRT) following Thissen, Steinberg & Wainer (1993, ISBN:0-8058-0972-4), and model-based recursive partitioning (MOB) as implemented in 'strucchange' following Strobl, Kopf and Zeileis (2015) <doi:10.1007/s11336-013-9388-3>. Designed for both standard two-group and intersectional multi-group designs, 'iDIFr' prioritises effect size reporting alongside statistical significance, clear guidance on group construction, and interpretable output suitable for applied testing contexts. Built-in Intersectional Contrast Analysis (ICA) classifies items as amplified, pure-intersection, obscured, or none by comparing single-variable and intersectional analyses.

Authors:Thomas Rogers [aut, cre]

iDIFr_1.0.1.tar.gz
iDIFr_1.0.1.tar.gz(r-4.7-arm64)iDIFr_1.0.1.tar.gz(r-4.7-x86_64)iDIFr_1.0.1.tar.gz(r-4.6-arm64)iDIFr_1.0.1.tar.gz(r-4.6-x86_64)
iDIFr_1.0.1.tgz(r-4.6-emscripten)
manual.pdf |manual.html
card.svg |card.png
iDIFr/json (API)
NEWS

# Install 'iDIFr' in R:
install.packages('iDIFr', repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/thmsrgrs/idifr/issues

Uses libs:
  • c++– GNU Standard C++ Library v3

On CRAN:

Conda:

cpp

2.70 score 11 exports 30 dependencies

Last updated from:376f12f47c. Checks:6 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-arm64OK158
linux-devel-x86_64OK142
source / vignettesOK204
linux-release-arm64OK140
linux-release-x86_64OK141
wasm-releaseOK129

Exports:check_groupscross_detailsexport_resultsfit_2plgroup_detailsidifritem_loglikitem_loglik_mgmerge_groupssimulate_diftidy

Dependencies:clicpp11dplyrfarvergenericsggplot2gluegtableisobandlabelinglatticelifecyclemagrittrpillarpkgconfigR6RColorBrewerRcpprlangS7sandwichscalesstrucchangetibbletidyselectutf8vctrsviridisLitewithrzoo

Getting started with iDIFr

Rendered fromgetting-started.Rmdusingknitr::rmarkdownon Jun 08 2026.

Last update: 2026-06-08
Started: 2026-06-08