powered by
Estimates learning as the difference in logit scores between post and pre. This ignores the transition structure that the LCA model uses.
cross_sectional_learning( pre_test, pst_test, na_as = c("dk", "missing"), missing_action = c("omit", "error") )
numeric vector of learning scores (post - pre)
data.frame of pre-test responses
data.frame of post-test responses
classification of NA responses
structural missingness handling
sim <- simulate_lca(n = 100, gk = 0.30, seed = 123, return_classes = TRUE) learning_cs <- cross_sectional_learning(sim$pre, sim$post) cor(learning_cs, sim$learned)
Run the code above in your browser using DataLab