Learn R Programming

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

CDM

Cognitive Diagnosis Modeling

If you use CDM and have suggestions for improvement or have found bugs, please email me at robitzsch@leibniz-ipn.de.

Manual

The manual may be found here https://alexanderrobitzsch.github.io/CDM/

CRAN version

The official version of CDM is hosted on CRAN and may be found here. The CRAN version can be installed from within R using:

utils::install.packages("CDM")

GitHub version

The version hosted here is the development version of CDM. The GitHub version can be installed using devtools as:

devtools::install_github("alexanderrobitzsch/CDM")

Copy Link

Version

Install

install.packages('CDM')

Monthly Downloads

3,441

Version

7.4-19

License

GPL (>= 2)

Issues

Pull Requests

Stars

Forks

Last Published

September 5th, 2019

Functions in CDM (7.4-19)

IRT.expectedCounts

S3 Method for Extracting Expected Counts
IRT.data

S3 Method for Extracting Used Item Response Dataset
IRT.RMSD

Root Mean Square Deviation (RMSD) Item Fit Statistic
IRT.anova

Helper Function for Conducting Likelihood Ratio Tests
Data-sim

Artificial Data: DINA and DINO
IRT.IC

Information Criteria
IRT.irfprob

S3 Methods for Extracting Item Response Functions
IRT.irfprobPlot

Plot Item Response Functions
IRT.modelfit

S3 Methods for Assessing Model Fit
IRT.parameterTable

S3 Method for Extracting a Parameter Table
IRT.factor.scores

S3 Methods for Extracting Factor Scores (Person Classifications)
CDM-package

CDM
IRT.classify

Individual Classification for Fitted Models
IRT.frequencies

S3 Method for Computing Observed and Expected Frequencies of Univariate and Bivariate Marginals
anova

Likelihood Ratio Test for Model Comparisons
CDM-utilities

Utility Functions in CDM
IRT.itemfit

S3 Methods for Computing Item Fit
cdm.est.class.accuracy

Classification Reliability in a CDM
coef

Extract Estimated Item Parameters and Skill Class Distribution Parameters
IRT.likelihood

S3 Methods for Extracting of the Individual Likelihood and the Individual Posterior
IRT.compareModels

Comparisons of Several Models
IRT.marginal_posterior

S3 Method for Computation of Marginal Posterior Distribution
data.dtmr

DTMR Fraction Data (Bradshaw et al., 2014)
data.dcm

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

Large-Scale Dataset with Multiple Groups
cdi.kli

Cognitive Diagnostic Indices based on Kullback-Leibler Information
data.melab

MELAB Data (Li, 2011)
entropy.lca

Test-specific and Item-specific Entropy for Latent Class Models
discrim.index

Discrimination Indices at Item-Attribute, Item and Test Level
data.sda6

Dataset SDA6 (Jurich & Bradshaw, 2014)
din.deterministic

Deterministic Classification and Joint Maximum Likelihood Estimation of the Mixed DINA/DINO Model
data.timss03.G8.su

TIMSS 2003 Mathematics 8th Grade (Su et al., 2013)
din.equivalent.class

Calculation of Equivalent Skill Classes in the DINA/DINO Model
gdina.wald

Wald Statistic for Item Fit of the DINA and ACDM Rule for GDINA Model
gdina.dif

Differential Item Functioning in the GDINA Model
plot_item_mastery

S3 Methods for Plotting Item Probabilities
data.ecpe

Dataset ECPE
predict

Expected Values and Predicted Probabilities from Item Response Response Models
data.fraction

Fraction Subtraction Dataset with Different Subsets of Data and Different Q-Matrices
equivalent.dina

Determination of a Statistically Equivalent DINA Model
item_by_group

Create Dataset with Group-Specific Items
eval_likelihood

Evaluation of Likelihood
itemfit.rmsea

RMSEA Item Fit
IRT.jackknife

Jackknifing an Item Response Model
IRT.repDesign

Generation of a Replicate Design for IRT.jackknife
data.Students

Dataset Student Questionnaire
WaldTest

Wald Test for a Linear Hypothesis
summary.din

Summary Method for Objects of Class din
data.hr

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

Dataset Jang (2009)
data.cdm

Several Datasets for the CDM Package
deltaMethod

Variance Matrix of a Nonlinear Estimator Using the Delta Method
summary_sink

Prints summary and sink Output in a File
personfit.appropriateness

Appropriateness Statistic for Person Fit Assessment
plot.din

Plot Method for Objects of Class din
din

Parameter Estimation for Mixed DINA/DINO Model
print.summary.din

Print Method for Objects of Class summary.din
reglca

Regularized Latent Class Analysis
data.timss07.G4.lee

TIMSS 2007 Mathematics 4th Grade (Lee et al., 2011)
data.timss11.G4.AUT

TIMSS 2011 Mathematics 4th Grade Austrian Students
gdd

Generalized Distance Discriminating Method
data.pgdina

Dataset for Polytomous GDINA Model
numerical_Hessian

Numerical Computation of the Hessian Matrix
sim.gdina

Simulation of the GDINA model
osink

Opens and Closes a sink Connection
gdina

Estimating the Generalized DINA (GDINA) Model
sim_model

Simulate an Item Response Model
fraction.subtraction.data

Fraction Subtraction Data
fraction.subtraction.qmatrix

Fraction Subtraction Q-Matrix
skillspace.hierarchy

Creation of a Hierarchical Skill Space
slca

Structured Latent Class Analysis (SLCA)
itemfit.sx2

S-X2 Item Fit Statistic for Dichotomous Data
logLik

Extract Log-Likelihood
skill.cor

Tetrachoric or Polychoric Correlations between Attributes
data.pisa00R

PISA 2000 Reading Study (Chen & de la Torre, 2014)
din.validate.qmatrix

Q-Matrix Validation (Q-Matrix Modification) for Mixed DINA/DINO Model
gdm

General Diagnostic Model
din_identifiability

Identifiability Conditions of the DINA Model
skillspace.approximation

Skill Space Approximation
vcov

Asymptotic Covariance Matrix, Standard Errors and Confidence Intervals
ideal.response.pattern

Ideal Response Pattern
modelfit.cor

Assessing Model Fit and Local Dependence by Comparing Observed and Expected Item Pair Correlations
mcdina

Multiple Choice DINA Model
sequential.items

Constructing a Dataset with Sequential Pseudo Items for Ordered Item Responses
sim.din

Data Simulation Tool for DINA, DINO and mixed DINA and DINO Data