Skip to content

LTCDM

1.1.0Package record

Latent Transition Cognitive Diagnosis Model with Covariates

0packages depend
2.1Kdownloads / year
–test coverage
13/13flavors OK

Overview

About

Implementation of the three-step approach of (latent transition) cognitive diagnosis model (CDM) with covariates. This approach can be used for single time-point situations (cross-sectional data) and multiple time-point situations (longitudinal data) to investigate how the covariates are associated with attribute mastery. For multiple time-point situations, the three-step approach of latent transition CDM with covariates allows researchers to assess changes in attribute mastery status and to evaluate the covariate effects on both the initial states and transition probabilities over time using latent logistic regression. Because stepwise approaches often yield biased estimates, correction for classification error probabilities (CEPs) is considered in this approach. The three-step approach for latent transition CDM with covariates involves the following steps: (1) fitting a CDM to the response data without covariates at each time point separately, (2) assigning examinees to latent states at each time point and computing the associated CEPs, and (3) estimating the latent transition CDM with the known CEPs and computing the regression coefficients. The method was proposed in Liang et al. (2023) doi:10.3102/10769986231163320 and demonstrated using mental health data in Liang et al. (in press; annotated R code and data utilized in this example are available in Mendeley data) doi:10.17632/kpjp3gnwbt.1.

Changes in 1.1.0

New Features

  • Added a new method for single time-point analyses (cross-sectional data), which enables researchers to investigate how the covariates are associated with attribute mastery. The steps involved in the three-step approach are: (1) fitting a CDM, (2) assigning examinees to latent classes and computing the CEPs, and (3) estimating the logistic regression model with the CEPs. This method was proposed in Iaconangelo (2017) and was adopted in a cross-sectional analysis of digital literacy assessment data in Liang et al (2021) <doi: 10.1016/j.chb.2021.106850>.

References:

Iaconangelo, C. (2017). Uses of classification error probabilities in the three-step approach to estimating cognitive diagnosis models (Doctoral dissertation). https://rucore.libraries.rutgers.edu/rutgers-lib/55495/PDF/1/play/

Liang, Q., de la Torre, J., & Law, N. (2021). Do background characteristics matter in children’s mastery of digital literacy? A cognitive diagnosis model analysis. Computers in Human Behavior, 122, 106850. https://doi.org/10.1016/j.chb.2021.106850

From NEWS.md in the release

Install

Health

CRAN checks
13OK
Slowest check: 2.3 min · r-oldrel-windows-x86_64
Status changes
  • OK13 OK2026-09-08
  • ERROR12 OK, 1 ERROR2026-09-07
  • OK13 OK2026-08-05
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK13 OK2026-06-09
Show 2 earlier changesHide 2 earlier changes
  • ERROR12 OK, 1 ERROR2026-06-08
  • OK14 OK2026-03-10
Advisories

none known

Documentation

In release 1.1.0
READMENoVignettesNoNEWSYes · 67% structured · mentions 1.1.0Citation fileNoWebsitenot declared in DESCRIPTION
Help pages
12
Examples that run
83%5 run in a plain check (3 of them under a condition) · 1 never run
Exported functions with examples
86%
Documented parameters
97%
Return-value docs
100%
Help pages citing references
42%

Downloads

2.1K
CRAN downloads in the past year
Rank #22,529 · ~6/day · ~177/mo
Daily download trend is not available in this view yet.
21930 days
58090 days
2.1K1 year
Compare downloads with other packages →
Also on68 r2u5 autocran

Dependencies

Declared dependencies
4 external dependencies (excludes base and recommended)

Installing LTCDM adds 102 packages (51 with compiled code, 88 MB of source tarballs). Heaviest: stringi 11 MB, ggplot2 6.0 MB, bslib 5.6 MB.

Depends (1)
R >= 3.5.0
LinkingTo (0)
none
Suggests (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Datasets

People & History

People (3)
Author, Maintainer since 1.0.0 (2024), Copyright holder
Contributor
Releases (2)

Pick two releases to compare their code metrics.

  • R
    R 4.6.0 released · 2026-04-24
  • 1.1.0Latest
    record
    2025-08-21 · current release · diff ↗ ·
    added 2 exports
    CEP_1t, step3_1t
  • R
    R 4.5.0 released · 2025-04-11
  • 1.0.0
    record
    2024-05-15
  • R
    R 4.4.0 released · 2024-04-24

Package metadata

First published
2024-05-15
Total releases
2 / 2 yrs
License
GPL-3 OSI
Minimum R
≥ 3.5.0
Bundled data
95 KB / 1 file
Download size
109 KB

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("LTCDM")
Liang, Q., Du, J., & de la Torre, J. (2025). LTCDM: Latent Transition Cognitive Diagnosis Model with Covariates (Version 1.1.0) [Computer software]. https://doi.org/10.32614/CRAN.package.LTCDM

This package has no citation file, so citation() returns this entry built from DESCRIPTION.

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for LTCDM version 1.1.0 [Data set]. HJJB, LLC. Data release v2026-10-20. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-20, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy