Skip to content

LTCDM

1.1.0

Latent Transition Cognitive Diagnosis Model with Covariates

0packages depend
2.2Kdownloads / year
test coverage
13/13checks pass

Overview

About
Maintained by Qianru LiangFirst published 2024-05-152 releasesCRAN page ↗

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.

Install

Health

CRAN checks
13OK
Slowest check: 2.7 min · r-devel-linux-x86_64-fedora-clang
Code health
None
Tests · ratio 0.00
not tracked
Coverage
100%
Documentation · exports
None
Vignettes
No
README
4
Dependencies · direct
Check history
  • OK2026-06-09
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-06-08
    12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • OK2026-03-10
    14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Downloads

2.2K
CRAN downloads in the past year
Rank #22,063 · ~6/day · ~181/mo
Daily download trend is not available in this view yet.
24830 days
53890 days
2.2K1 year
Compare downloads with other packages →
Also on98 r2u13 autocran

Dependencies

Declared dependencies
4 external dependencies (excludes base and recommended)
Depends (1)
R >= 3.5.0
LinkingTo (0)
none
Suggests (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Code & Tests

Code Composition
R 912 (63%)Rd 540 (37%)
Code characteristics
Cyclomatic complexity
2.0 median / 9 max
Documented parameters
97%

Test coverage

Line coverage

Expression

Tests / Examples

Functions

11 7 exported

Complexity

3.3 avg / 9 max

Call network

11 nodes / 3 edges

Test coverage has not been measured for this package yet; nodes fall back to a neutral fill.

Loading call graph…

Lowest coverage

Per-function coverage is not measured for this package yet.

People & History

People (3)
Maintainer (1)
Author, Maintainer, Copyright holder
Authors (2)
Author, Maintainer, Copyright holder
Contributors (1)
Contributor
Copyright holders (1)
Author, Maintainer, Copyright holder
Release timeline

2 releases. Pick two to compare their code metrics. R releases are shown for context.

  • R
    R 4.6.0 released · 2026-04-24
  • 1.1.0Latest
    2025-08-21 · current release · diff ↗
  • R
    R 4.5.0 released · 2025-04-11
  • 1.0.0
    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
Installed size
not tracked yet
With dependencies
not tracked yet