Facet reliability and separation snapshot bar plot
Source:R/api-plotting-secondary.R
plot_reliability_snapshot.RdCompact facet-level visual of the Wright & Masters (1982)
separation, strata, and reliability indices that
diagnose_mfrm() computes. Helpful as a single small figure for
"are persons / raters / criteria distinguishable?" review.
These are Rasch/FACETS-style separation indices on the fitted logit
scale, not ICCs; use compute_facet_icc() for the complementary
observed-score variance-share view.
Arguments
- fit
An
mfrm_fitfromfit_mfrm().- diagnostics
Optional
diagnose_mfrm()output. Computed on demand when omitted.- metric
"reliability"(default),"separation", or"strata".- preset
Visual preset.
- draw
If
TRUE, draw with base graphics.
Examples
if (FALSE) { # interactive()
toy <- load_mfrmr_data("example_core")
fit <- fit_mfrm(toy, "Person", c("Rater", "Criterion"), "Score",
method = "JML", maxit = 30)
p <- plot_reliability_snapshot(fit, draw = FALSE)
p$data$table
# Look for (default `metric = "reliability"`):
# - >= 0.9 strong, 0.7-0.9 adequate, < 0.7 weak (Wright & Masters 1982).
# - The Person row is the operative reliability for ability scores.
# - Non-Person rows (Rater / Criterion) report the same index but
# should be read as "are facet elements distinguishable?"; values
# close to 1 mean facet means differ reliably from each other.
}