Function to estimate the latent logistic regression models at the initial state and transition
L_step3(par, z_t1, z_t2, weight, k)
log-likelihood value.
Coefficients of latent logistic regression to be estimated.
covariates at Time 1, which has already had the intercept column (1s).
covariates at Time 2, which has already had the intercept column (1s).
Correction weight obtained from CEP.
The k-th attribute.
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")