powered by
Computes the logit of each person's proportion correct. This is a descriptive score, not a fitted item-response model.
estimate_logit_score( responses, na_as = c("dk", "missing"), missing_action = c("omit", "error") )
numeric vector of logit scores (length = n individuals)
data.frame of binary responses (0/1)
classification of NA responses
structural missingness handling
Observed d/DK responses are scored as incorrect in this binary correctness baseline. They remain a distinct response category in the LCA functions.
sim <- simulate_lca(n = 100, seed = 123) score_pre <- estimate_logit_score(sim$pre) score_post <- estimate_logit_score(sim$post)
Run the code above in your browser using DataLab