Learn R Programming

LTCDM (version 1.0.0)

L_step3: Step 3 estimation for latent logistic regression coefficients

Description

Function to estimate the latent logistic regression models at the initial state and transition

Usage

L_step3(par, z_t1, z_t2, weight, k)

Value

log-likelihood value.

Arguments

par

Coefficients of latent logistic regression to be estimated.

z_t1

covariates at Time 1, which has already had the intercept column (1s).

z_t2

covariates at Time 2, which has already had the intercept column (1s).

weight

Correction weight obtained from CEP.

k

The k-th attribute.

References

Liang, Q., de la Torre, J., & Law, N. (2023). Latent transition cognitive diagnosis model with covariates: A three-step approach. Journal of Educational and Behavioral Statistics.tools:::Rd_expr_doi("10.3102/10769986231163320")