50% off: Unlimited data and AI learning.
State of Data and AI Literacy Report 2025

⚠️There's a newer version (8.2-6) of this package.Take me there.

CDM (version 4.991-1)

Cognitive Diagnosis Modeling

Description

Functions for cognitive diagnosis modeling and multidimensional item response modeling for dichotomous and polytomous data. This package enables the estimation of the DINA and DINO model, the multiple group (polytomous) GDINA model, the multiple choice DINA model, the general diagnostic model (GDM), the multidimensional linear compensatory item response model and the structured latent class model (SLCA).

Copy Link

Version

Install

install.packages('CDM')

Monthly Downloads

3,247

Version

4.991-1

License

GPL (>= 2)

Last Published

May 31st, 2016

Functions in CDM (4.991-1)

data.dcm

Dataset from Book 'Diagnostic Measurement' of Rupp, Templin and Henson (2010)
data.ecpe

Dataset ECPE
cdm.est.class.accuracy

Classification Reliability in a CDM
CDM-package

Cognitive Diagnosis Modeling: The R Package CDM
data.cdm

Several Datasets for the CDM Package
Data-sim

Artificial Data: DINA and DINO
data.dtmr

DTMR Fraction Data (Bradshaw et al., 2014)
anova

Likelihood Ratio Test for Model Comparisons
cdi.kli

Cognitive Diagnostic Indices based on Kullback-Leibler Information
coef

Extract Estimated Item Parameters and Skill Class Distribution Parameters
data.hr

Dataset data.hr (Ravand et al., 2013)
data.melab

MELAB Data (Li, 2011)
data.Students

Dataset Student Questionnaire
data.jang

Dataset Jang (2009)
data.fraction2

Fraction Subtraction Dataset 2
fraction.subtraction.qmatrix

Fraction Subtraction Q-Matrix
data.timss03.G8.su

TIMSS 2003 Mathematics 8th Grade (Su et al., 2013)
data.mg

Large-Scale Dataset with Multiple Groups
entropy.lca

Test-specific and Item-specific Entropy for Latent Class Models
din.equivalent.class

Calculation of Equivalent Skill Classes in the DINA/DINO Model
data.fraction1

Fraction Subtraction Dataset 1
din.validate.qmatrix

Q-Matrix Validation (Q-Matrix Modification) for Mixed DINA/DINO Model
din.deterministic

Deterministic Classification and Joint Maximum Likelihood Estimation of the Mixed DINA/DINO Model
data.timss11.G4.AUT

TIMSS 2011 Mathematics 4th Grade Austrian Students
data.pgdina

Dataset for Polytomous GDINA Model
equivalent.dina

Determination of a Statistically Equivalent DINA Model
data.sda6

Dataset SDA6 (Jurich & Bradshaw, 2014)
data.timss07.G4.lee

TIMSS 2007 Mathematics 4th Grade (Lee et al., 2011)
fraction.subtraction.data

Fraction Subtraction Data
ideal.response.pattern

Ideal Response Pattern
IRT.IC

Information Criteria
IRT.data

S3 Method for Extracting Used Item Response Dataset
IRT.anova

Helper Function for Conducting Likelihood Ratio Tests
IRT.factor.scores

S3 Methods for Extracting Factor Scores (Person Classifications)
IRT.jackknife

Jackknifing an Item Response Model
IRT.expectedCounts

S3 Method for Extracting Expected Counts
IRT.irfprobPlot

Plot Item Response Functions
IRT.itemfit

S3 Methods for Computing Item Fit
IRT.irfprob

S3 Methods for Extracting Item Response Functions
IRT.compareModels

Comparisons of Several Models
IRT.parameterTable

S3 Method for Extracting a Parameter Table
IRT.modelfit

S3 Methods for Assessing Model Fit
print.summary.din

Print Method for Objects of Class summary.din
logLik

Extract Log-Likelihood
IRT.repDesign

Generation of a Replicate Design for IRT.jackknife
WaldTest

Wald Test for a Linear Hypothesis
predict

Expected Values and Predicted Probabilities from Item Response Response Models
osink

Opens and Closes a sink Connection
numerical_Hessian

Numerical Computation of the Hessian Matrix
IRT.likelihood

S3 Methods for Extracting of the Individual Likelihood and the Individual Posterior
personfit.appropriateness

Appropriateness Statistic for Person Fit Assessment
sim.din

Data Simulation Tool for DINA, DINO and mixed DINA and DINO Data
sim.gdina

Simulation of the GDINA model
skillspace.approximation

Skill Space Approximation
summary.din

Summary Method for Objects of Class din
skill.cor

Tetrachoric or Polychoric Correlations between Attributes
vcov

Asymptotic Covariance Matrix, Standard Errors and Confidence Intervals
skillspace.hierarchy

Creation of a Hierarchical Skill Space
sequential.items

Constructing a Dataset with Sequential Pseudo Items for Ordered Item Responses