GMLTM: Generalized Multicomponent Latent Trait Model for Diagnosis

Provides Bayesian estimation of Item Response Theory models that decompose item difficulty into cognitive operations or rules. Implements the Linear Logistic Test Model (LLTM; Fischer (1973) <doi:10.1016/0001-6918(73)90003-6>), the Multicomponent Latent Trait Model for Diagnosis (MLTM-D; Embretson and Yang (2013) <doi:10.1007/s11336-012-9296-y>), and the Generalized Multicomponent Latent Trait Model for Diagnosis (GMLTM-D; Ramirez et al. (2024) <doi:10.3390/jintelligence12070067>), including a variant with correlated latent components. All models are estimated via Hamiltonian Monte Carlo using 'Stan' through the 'rstan' interface. Includes tools for prior predictive checks (Gelman et al., 2020), model validation, conditional reliability estimation, examinee mastery classification following Embretson (2019) <doi:10.1007/978-3-030-05584-4_9>, and individual diagnostic reports at the rule and component level. Supports user-defined prior distributions for all model parameters.

Version: 2.0.0
Depends: R (≥ 4.1.0)
Imports: rstan (≥ 2.21.0), ggplot2, gridExtra, grid, utils, parallel, loo, RColorBrewer
Suggests: testthat (≥ 3.0.0), knitr, rmarkdown
Published: 2026-08-27
DOI: 10.32614/CRAN.package.GMLTM
Author: Eduar Ramirez [aut, cre], Marcos Jimenez [aut], Vithor R. Franco [aut], Jesus Alvarado [aut]
Maintainer: Eduar Ramirez <edrami02 at ucm.es>
BugReports: https://github.com/Eduar-Ramirez/GMLTM-D/issues
License: GPL (≥ 3)
URL: https://github.com/Eduar-Ramirez/GMLTM-D
NeedsCompilation: no
SystemRequirements: C++17, GNU make
Language: en-US
Materials: README, NEWS
CRAN checks: GMLTM results

Documentation:

Reference manual: GMLTM.html , GMLTM.pdf
Vignettes: Introduction to GMLTM (source, R code)

Downloads:

Package source: GMLTM_2.0.0.tar.gz
Windows binaries: r-devel: GMLTM_0.1.0.zip, r-release: GMLTM_0.1.0.zip, r-oldrel: GMLTM_2.0.0.zip
macOS binaries: r-release (arm64): GMLTM_2.0.0.tgz, r-oldrel (arm64): GMLTM_2.0.0.tgz, r-release (x86_64): GMLTM_2.0.0.tgz, r-oldrel (x86_64): GMLTM_2.0.0.tgz
Old sources: GMLTM archive

Linking:

Please use the canonical form https://CRAN.R-project.org/package=GMLTM to link to this page.