Package: aiDIF
Type: Package
Title: Differential Item Functioning for AI-Scored Assessments
Version: 0.2.0
Authors@R: 
    person("Subir", "Hait",
           email = "haitsubi@msu.edu",
           role = c("aut", "cre"),
           comment = c(ORCID = "0009-0004-9871-9677"))
Description: Detects and quantifies differential item functioning (DIF) in
    AI-scored educational and psychological assessments. Provides a fully
    self-contained robust DIF engine (M-estimation via iteratively
    re-weighted least squares with the bi-square loss) alongside the
    Differential AI Scoring Bias (DASB) test, which detects item-level
    scoring shifts that differ across subgroups when comparing human and AI
    scoring conditions. Supports independent and paired scoring designs,
    robust linking of the cross-condition contrast, multiplicity control,
    conversion of fitted 'mirt' models to package inputs, simulation
    utilities, anchor weight diagnostics, and an AI-effect classification
    framework. Methods follow Halpin (2024) <doi:10.1007/s11336-024-09957-6>.
License: GPL (>= 3)
Encoding: UTF-8
Depends: R (>= 3.5.0)
Imports: Matrix, stats, graphics, utils
Suggests: mirt, testthat (>= 3.1.5), knitr, rmarkdown
Config/testthat/edition: 3
VignetteBuilder: knitr
URL: https://github.com/causalfragility-lab/aiDIF
BugReports: https://github.com/causalfragility-lab/aiDIF/issues
Config/roxygen2/version: 8.0.0
NeedsCompilation: no
Packaged: 2026-09-04 17:22:51 UTC; subir
Author: Subir Hait [aut, cre] (ORCID: <https://orcid.org/0009-0004-9871-9677>)
Maintainer: Subir Hait <haitsubi@msu.edu>
Repository: CRAN
Date/Publication: 2026-09-05 16:00:10 UTC
