The Generalized DINA Model Framework
Overview
A set of psychometric tools for cognitive diagnosis modeling based on the generalized deterministic inputs, noisy and gate (G-DINA) model by de la Torre (2011) DOI:10.1007/s11336-011-9207-7 and its extensions, including the sequential G-DINA model by Ma and de la Torre (2016) DOI:10.1111/bmsp.12070 for polytomous responses, and the polytomous G-DINA model by Chen and de la Torre DOI:10.1177/0146621613479818 for polytomous attributes. Joint attribute distribution can be independent, saturated, higher-order, loglinear smoothed or structured. Q-matrix validation, item and model fit statistics, model comparison at test and item level and differential item functioning can also be conducted. A graphical user interface is also provided. For tutorials, please check Ma and de la Torre (2020) DOI:10.18637/jss.v093.i14, Ma and de la Torre (2019) DOI:10.1111/emip.12262, Ma (2019) DOI:10.1007/978-3-030-05584-4_29 and de la Torre and Akbay (2019).
- Fixed -
plot.Qvalno longer fails when rendering mesa plots with ggplot2. - Change. -
itemfitfunction can be used for sequential models - Change. -
diffunction can handle attributes with hierarchical structures - Change. -
difandpairwiseDIFfunctions can handle more than two groups - Change. -
CAfunction report consistency
From NEWS.md in the release
Install
Health
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK12 OK2026-04-25
- NOTE11 OK, 3 NOTE2026-04-22
- ERROR10 OK, 3 NOTE, 1 ERROR2026-04-18
Show 5 earlier changesHide 5 earlier changes
- NOTE11 OK, 3 NOTE2026-04-17
- ERROR10 OK, 3 NOTE, 1 ERROR2026-04-16
- NOTE11 OK, 3 NOTE2026-03-30
- ERROR10 OK, 3 NOTE, 1 ERROR2026-03-28
- NOTE11 OK, 3 NOTE2026-03-10
Documentation
- Help pages
- 52includes a package overview page
- Examples that run
- 17%7 run in a plain check · 35 never run
- Exported functions with examples
- 100%
- Documented parameters
- 97%
- Return-value docs
- 73%
- Help pages citing references
- 58%
Downloads
Repository
- PRs merged (all time)
- 86%
- Median days to close, 50 most recently updated closed issues
- 11
- Median days to close, 50 most recently updated closed PRs
- 4
Stars over time
Forks over time
Releases over time
Issues over time
PRs over time
Commits over time
7 development-tooling and community-health practices detected across 3 families in the upstream repository
Checks run against github.com/wenchao-ma/gdina on 2026-10-11.
The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel
GitHub Pages site last deployed 2026-10-05 · The repository has a site deploy workflow
pkgdown site last built 2026-07-07, before release 2.13.2 (2026-10-05)
This repository shows signs of AI coding tools.
- Claude Codefirst seen 2026-05-06Named in .Rbuildignore: .claude
- GitHub Copilotfirst seen 2026-07-05Pull request: opened by its own account
- Copilot code reviewCommits: at least 3 accepting its review suggestions
Dependencies
Installing GDINA adds 55 packages (28 with compiled code, 42 MB of source tarballs). Heaviest: ggplot2 6.0 MB, bslib 5.6 MB, promises 3.1 MB.
Code & Tests
Datasets
People & History
Pick two releases to compare their code metrics.
- 2.13.2Latest
- 2.13.1
- RR 4.6.0 released · 2026-04-24
- 2.9.12
- 2.9.92025-05-01 · diff ↗
- RR 4.5.0 released · 2025-04-11
- RR 4.4.0 released · 2024-04-24
- 2.9.42023-07-02 · diff ↗
- RR 4.3.0 released · 2023-04-21
- 2.9.32022-08-17 · diff ↗
- RR 4.2.0 released · 2022-04-22
- 2.8.82022-01-20 · diff ↗
- 2.8.72021-05-31 · diff ↗
- RR 4.1.0 released · 2021-05-18
- 2.8.02020-05-24 · diff ↗
- RR 4.0.0 released · 2020-04-24
Show 22 earlier eventsHide 22 earlier events
- 2.7.92020-03-01 · diff ↗
- 2.7.82020-01-15 · diff ↗
- 2.7.32019-08-20 · diff ↗
- 2.7.0
- 2.6.02019-06-12 · diff ↗
- 2.5.22019-05-10 · diff ↗ ·
removed 11 exports
internal_ColNormalize, internal_Lik, internal_Lik2, internal_RowNormalize, internal_RowProd, internal_aggregateCol, internal_eta, internal_l2m, internal_m2l, internal_matchMatrix, internal_uPadded 1 export
ILCA - RR 3.6.0 released · 2019-04-26
- 2.4.02019-03-11 · diff ↗
- 2.3.2
- 2.2.02018-10-30 · diff ↗
- 2.1.152018-06-07 · diff ↗
- 2.1.7
- RR 3.5.0 released · 2018-04-23
- 2.0.82018-03-28 · diff ↗
- 2.02018-03-23 · diff ↗ ·
removed 2 exports
hoparm, rowCountadded 14 exports
CA, bootSE, internal_ColNormalize, internal_Lik, internal_Lik2, internal_RowNormalize, internal_RowProd, internal_aggregateCol, internal_eta, internal_l2m, internal_m2l, internal_matchMatrix, internal_uP, modelfit - RR 3.4.0 released · 2017-04-21
- 1.4.22017-04-13 · diff ↗
- 1.4.1
- 1.2.12017-02-12 · diff ↗
- 1.2.0
- 1.0.02016-12-12
- RR 3.3.0 released · 2016-05-03
Package metadata
- First published
- 2016-12-12
- Total releases
- 27 / 10 yrs
- License
- GPL-3 OSI
- Minimum R
- ≥ 3.5
- Bundled data
- 75 KB / 10 files
- Download size
- 319 KB
Cite
Cite this package
Run in R for the authors' entry:
citation("GDINA")The package provides a citation file, so citation() returns the authors' own entry.
It points to 10.18637/jss.v093.i14.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-17, which the citation names so these numbers can be found later. More on citing and the projects behind them.