View source: R/model-criticism.R
| estimate_logit_score | R Documentation |
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")
)
responses |
data.frame of binary responses (0/1) |
na_as |
classification of NA responses |
missing_action |
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.
numeric vector of logit scores (length = n individuals)
sim <- simulate_lca(n = 100, seed = 123)
score_pre <- estimate_logit_score(sim$pre)
score_post <- estimate_logit_score(sim$post)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.