Switch branches/tags
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.

GDINA Package for Cognitive Diagnosis Modelling

Project Status: Active ? The project has reached a stable, usable state and is being actively developed. Build Status CRAN_Status_Badge rank

How to cite the package:

Ma, W. & de la Torre, J. (2018). GDINA: The generalized DINA model framework.R package version 2.1. Retrived from

Features of the package

  • Estimating G-DINA model and a variety of widely-used models subsumed by the G-DINA model, including the DINA model, DINO model, additive-CDM (A-CDM), linear logistic model (LLM), reduced reparametrized unified model (RRUM), multiple-strategy DINA model for dichotomous responses
  • Estimating models within the G-DINA model framework using user-specified design matrix and link functions
  • Estimating Bugs-DINA, DINO and G-DINA models for dichotomous responses
  • Estimating sequential G-DINA model for ordinal and nominal responses
  • Estimating the diagnostic tree model (experimental)
  • Modelling independent, saturated, higher-order, loglinear smoothed, and structured joint attribute distribution
  • Accommodating multiple-group model analysis
  • Imposing monotonic constrained success probabilities
  • Accommodating binary and polytomous attributes
  • Validating Q-matrix under the general model framework
  • Evaluating absolute and relative item and model fit
  • Comparing models at the test and item levels
  • Detecting differential item functioning using Wald and likelihood ratio test
  • Simulating data based on all aforementioned CDMs
  • Providing graphical user interface for users less familiar with R


You can install the development version of GDINA from github with:

# install.packages("devtools")

The stable version of GDINA should be installed from R CRAN at here

Upcoming Training Sessions

  • Frontiers in Educational Measurement pre-conference workshop on September 11, 2018 at the University of Oslo - see here
  • 13th Cross-Strait Conference on Educational and Psychological Testing pre-conference workshop on Oct 18, 2018 - see here

Past Training Sessions

  • NCME training session on April 12, 2018 - see here
  • NCME training session on April 26, 2017
  • Workshop at the Brazil Congress of Item Response Theory November 30-December 1, 2016
  • Pre-conference short course in the Fourth Conference on the Statistical Methods in Psychometrics from August 30 to September 1, 2016 at Columbia University here