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:
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
Last updated from:376f12f47c. Checks:6 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-arm64 | OK | 158 | ||
| linux-devel-x86_64 | OK | 142 | ||
| source / vignettes | OK | 204 | ||
| linux-release-arm64 | OK | 140 | ||
| linux-release-x86_64 | OK | 141 | ||
| wasm-release | OK | 129 |
Exports:check_groupscross_detailsexport_resultsfit_2plgroup_detailsidifritem_loglikitem_loglik_mgmerge_groupssimulate_diftidy
Dependencies:clicpp11dplyrfarvergenericsggplot2gluegtableisobandlabelinglatticelifecyclemagrittrpillarpkgconfigR6RColorBrewerRcpprlangS7sandwichscalesstrucchangetibbletidyselectutf8vctrsviridisLitewithrzoo
Readme and manuals
Help Manual
| Help page | Topics |
|---|---|
| Check group structure and cell sizes before running DIF analysis | check_groups |
| Full crossing breakdown for a demographic variable | cross_details |
| Export iDIFr results to Excel | export_results |
| Fit a 2PL IRT model via marginal maximum likelihood (EM) | fit_2pl |
| Full per-group cell size breakdown | group_details |
| Run intersectional DIF analysis | idifr |
| Compute per-item log-likelihood contributions from a fitted irt_2pl model | item_loglik |
| Per-item LL for a multigroup constrained model | item_loglik_mg |
| Merge sparse groups | merge_groups |
| Plot method for idifr objects | plot.idifr |
| Print method for idifr objects | print.idifr |
| Generate synthetic DIF data for testing and simulation | simulate_dif |
| Summary method for idifr objects | summary.idifr |
| Tidy an idifr object | tidy |
| Return tidy data frame of DIF results | tidy.idifr |