Bayesian Q Matrix Estimation of Saturated Diagnostic Classification Models Using NIMBLE

Diagnostic classification models (DCMs) constitute a subset of restricted latent class models in which latent classes are constrained by an expert-specified <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" overflow="scroll"> <mml:mrow> <mml:mi mathvariant="bold-italic">Q</mml:mi> </mml:mrow> </mml:math> matrix reflecting students’ mastery of the psychological attributes associated with items. In instances where uncertainty exists in the attribute elements of items specified by the <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" overflow="scroll"> <mml:mrow> <mml:mi mathvariant="bold-italic">Q</mml:mi> </mml:mrow> </mml:math> matrix, the accurate estimation of the <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" overflow="scroll"> <mml:mrow> <mml:mi mathvariant="bold-italic">Q</mml:mi> </mml:mrow> </mml:math> matrix is imperative for ensuring accurate person and item estimates. This paper investigates the application of the open-source NIMBLE (Numerical Inference for Hierarchical Models Using Bayesian and Likelihood Estimation) package in R software to infer the <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" overflow="scroll"> <mml:mrow> <mml:mi mathvariant="bold-italic">Q</mml:mi> </mml:mrow> </mml:math> matrix while incorporating model constraints. Snippets of NIMBLE code illustrate the <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" overflow="scroll"> <mml:mrow> <mml:mi mathvariant="bold-italic">Q</mml:mi> </mml:mrow> </mml:math> matrix estimation in DCMs, followed by parameter-recovery simulation studies and empirical data analyses. The research findings show a high degree of parameter recovery in simulation studies and provide insightful analyses of empirical data. This paper demonstrates that researchers can now effectively engage with DCMs using NIMBLE, particularly in scenarios where the <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" overflow="scroll"> <mml:mrow> <mml:mi mathvariant="bold-italic">Q</mml:mi> </mml:mrow> </mml:math> matrix is uncertain. This eliminates the need to laboriously develop and code intricate parameter estimation algorithms, thus enabling researchers to confidently prioritize model development and statistical analysis.

Authors

Institutions

Publication Details

Journal
Journal of Educational and Behavioral Statistics
Published
2025-05-15
DOI
https://doi.org/10.3102/10769986251331515
Citations
1
Primary Topic
Statistical Methods and Inference
Type
article
Field-Weighted Citation Impact
2.63

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Bayesian Q Matrix Estimation of Saturated Diagnostic Classification Models Using NIMBLE

Chen‐Wei Liu
1 citations
Journal of Educational and Behavioral Statistics
Statistical Methods and Inference
2.63
article

Bayesian Q Matrix Estimation of Saturated Diagnostic Classification Models Using NIMBLE

Chen‐Wei Liu
article en
1 citations

Abstract

Diagnostic classification models (DCMs) constitute a subset of restricted latent class models in which latent classes are constrained by an expert-specified <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" overflow="scroll"> <mml:mrow> <mml:mi mathvariant="bold-italic">Q</mml:mi> </mml:mrow> </mml:math> matrix reflecting students’ mastery of the psychological attributes associated with items. In instances where uncertainty exists in the attribute elements of items specified by the <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" overflow="scroll"> <mml:mrow> <mml:mi mathvariant="bold-italic">Q</mml:mi> </mml:mrow> </mml:math> matrix, the accurate estimation of the <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" overflow="scroll"> <mml:mrow> <mml:mi mathvariant="bold-italic">Q</mml:mi> </mml:mrow> </mml:math> matrix is imperative for ensuring accurate person and item estimates. This paper investigates the application of the open-source NIMBLE (Numerical Inference for Hierarchical Models Using Bayesian and Likelihood Estimation) package in R software to infer the <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" overflow="scroll"> <mml:mrow> <mml:mi mathvariant="bold-italic">Q</mml:mi> </mml:mrow> </mml:math> matrix while incorporating model constraints. Snippets of NIMBLE code illustrate the <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" overflow="scroll"> <mml:mrow> <mml:mi mathvariant="bold-italic">Q</mml:mi> </mml:mrow> </mml:math> matrix estimation in DCMs, followed by parameter-recovery simulation studies and empirical data analyses. The research findings show a high degree of parameter recovery in simulation studies and provide insightful analyses of empirical data. This paper demonstrates that researchers can now effectively engage with DCMs using NIMBLE, particularly in scenarios where the <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" overflow="scroll"> <mml:mrow> <mml:mi mathvariant="bold-italic">Q</mml:mi> </mml:mrow> </mml:math> matrix is uncertain. This eliminates the need to laboriously develop and code intricate parameter estimation algorithms, thus enabling researchers to confidently prioritize model development and statistical analysis.

Journal of Educational and Behavioral Statistics
National Taiwan Normal University (TW)
National Science and Technology Council
Openalex Percentile: Top 12%
Statistical Methods and Inference
2.63
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.