Learn R Programming

LTCDM (version 1.0.0)

Latent Transition Cognitive Diagnosis Model with Covariates

Description

Implementation of the three-step approach of latent transition cognitive diagnosis model (CDM) with covariates. This approach can be used 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) 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) .

Copy Link

Version

Install

install.packages('LTCDM')

Monthly Downloads

180

Version

1.0.0

License

GPL-3

Maintainer

Qianru Liang

Last Published

May 15th, 2024

Functions in LTCDM (1.0.0)

step3.est

Step 3 estimation for latent logistic regression coefficients
cep

Data Set cep
update_class

Classification update using the Bayes' Theorem
L_step3

Step 3 estimation for latent logistic regression coefficients
CEP_t

Compute classification error probabilities for attributes at different time points
trans.matrix

Compute transition matrix
dat1

Data Set dat1
Q

Data Set Q
dat0

Data Set dat0
step3.output

Data Set step3.output