Skip to content

Hierarchical Item Response Theory Models

0packages depend
433downloads / year
–test coverage
13/13flavors OK

Overview

About

Implementation of a class of hierarchical item response theory (IRT) models where both the mean and the variance of latent preferences (ability parameters) may depend on observed covariates. The current implementation includes both the two-parameter latent trait model for binary data and the graded response model for ordinal data. Both are fitted via the Expectation-Maximization (EM) algorithm. Asymptotic standard errors are derived from the observed information matrix. See Zhou (2019) doi:10.1017/pan.2018.63 for details.

Changes in 0.4.0
  • Removed dependency on the archived package pryr; function composition is now done in base R.
  • Added hgrmDIF() for differential item functioning in the graded response model.

From NEWS.md in the release

Install

Health

CRAN checks
13OK
Slowest check: 3.4 min · r-oldrel-windows-x86_64
Status changes
  • OK13 OKNow
  • OK6 OK2026-09-29
Advisories

none known

Documentation

In release 0.4.0
READMEYes · 481 wordsVignettesNoNEWSYes · 100% structured · mentions 0.4.0Citation fileNoWebsitenot declared in DESCRIPTION
Help pages
10
Examples that run
88%7 run in a plain check · 1 only when donttest examples are enabled (R CMD check --as-cran)
Exported functions with examples
100%
Documented parameters
99%
Return-value docs
100%
Help pages citing references
20%

Downloads

433
CRAN downloads in the past year
Rank #25,121 · ~1/day · ~36/mo
Daily download trend is not available in this view yet.
41630 days
41690 days
4331 year
Compare downloads with other packages →
Also on60 r2u3 autocran

Repository

13Stars
3Forks
0Open issues
0Open PRs
0Releases
117Commits
1Commit identities
117 commits · Last activity 2026-09-28
Responsiveness
not measured
PracticesBeta

4 development-tooling and community-health practices detected across 3 families in the upstream repository

Checks run against github.com/xiangzhou09/hirt on 2026-10-21.

Continuous integration (2)
GitHub ActionsTravis CI (config file)
Docs source (1)
README.Rmd
Lint, format, editor (1)
RStudio project
How this is detected·Detection ruleset v4 (2026-10-20)
AI coding toolsBeta

This repository shows signs of AI coding tools.

  • Claude Codefirst seen 2026-09-15
    Commits: at least 3 crediting it in the message
Models named in its commits
  • Claude Opus 52 commits · Sep 2026
  • Claude Opus 5.51 commit · Sep 2026
Counts are commits, not lines of code. Commits by a tool's accounts count once across all of its accounts. Commits crediting it are the largest count among its credit lines, a minimum.How this is detected·Detection ruleset v4 (updated 2026-09-27)

Dependencies

Declared dependencies
3 external dependencies (excludes base and recommended)

Installing hIRT adds 71 packages (37 with compiled code, 69 MB of source tarballs). Heaviest: stringi 11 MB, TH.data 8.2 MB, ggplot2 6.0 MB.

Depends (2)
R >= 3.4.0stats
Imports (3)
rmsltmMatrix
LinkingTo (0)
none
Suggests (1)
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Datasets

People & History

People (1)
Author, Maintainer since 0.1.0 (2017)
Releases (7)

Pick two releases to compare their code metrics.

  • unarchivedReturned to CRAN
    2026-09-28
  • 0.4.0Latest
    record
    2026-09-28 · current release · diff ↗ ·
    added 1 export
    hgrmDIF
  • R
    R 4.6.0 released · 2026-04-24
  • archivedRemoved from CRAN
    2026-01-30
    requires archived package 'pryr'
  • R
    R 4.5.0 released · 2025-04-11
  • R
    R 4.4.0 released · 2024-04-24
  • R
    R 4.3.0 released · 2023-04-21
  • R
    R 4.2.0 released · 2022-04-22
  • R
    R 4.1.0 released · 2021-05-18
  • R
    R 4.0.0 released · 2020-04-24
  • 0.3.0
    record
    2020-03-26 · diff ↗ ·
    removed 1 export
    predict_hIRT
    added 2 exports
    hgrm2, hltm2
  • 0.2.0
    record
    2019-06-13 · diff ↗ ·
    added 1 export
    predict_hIRT
  • R
    R 3.6.0 released · 2019-04-26
  • 0.1.3
    record
    2018-09-16 · diff ↗
  • R
    R 3.5.0 released · 2018-04-23
  • 0.1.2
    record
    2017-08-01 · diff ↗
Show 3 earlier eventsHide 3 earlier events

Package metadata

First published
2017-07-23
Total releases
7 / 9 yrs
License
GPL (>= 3) OSI
Minimum R
≥ 3.4.0
Bundled data
7.4 KB / 1 file
Download size
108 KB

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("hIRT")
Zhou, X. (2026). hIRT: Hierarchical Item Response Theory Models (Version 0.4.0) [Computer software]. https://doi.org/10.32614/CRAN.package.hIRT

This package has no citation file, so citation() returns this entry built from DESCRIPTION.

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for hIRT version 0.4.0 [Data set]. HJJB, LLC. Data release v2026-10-24. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-24, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy