citHeader("To cite aiDIF in publications, use:")

bibentry(
  bibtype  = "Manual",
  title    = "{aiDIF}: Differential Item Functioning for {AI}-Scored Assessments",
  author   = person("Subir", "Hait",
                    comment = c(ORCID = "0009-0004-9871-9677")),
  year     = "2026",
  note     = sprintf("R package version %s",
                     meta$Version),
  doi      = "10.32614/CRAN.package.aiDIF",
  url      = "https://CRAN.R-project.org/package=aiDIF",
  textVersion = paste0(
    "Hait, S. (2026). aiDIF: Differential Item Functioning for AI-Scored ",
    "Assessments. R package version ", meta$Version,
    ". doi:10.32614/CRAN.package.aiDIF"
  )
)

citFooter(
  "The robust scaling method implemented by the package is due to ",
  "Halpin, P. F. (2024), Differential item functioning via robust scaling, ",
  "Psychometrika, 89(3), 796-821, doi:10.1007/s11336-024-09957-6. ",
  "Please cite that paper as well when reporting results from fit_aidif() ",
  "or estimate_robust_scale()."
)
