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
- Chen‐Wei Liu (ORCID: https://orcid.org/0000-0003-2826-465X)
Institutions
- National Taiwan Normal University (TW)
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
- National Science and Technology Council