| rating_scale_table | R Documentation |
Build a rating-scale diagnostics report
rating_scale_table(
fit,
diagnostics = NULL,
whexact = FALSE,
drop_unused = FALSE
)
fit |
Output from |
diagnostics |
Optional output from |
whexact |
Use exact ZSTD transformation for category fit. |
drop_unused |
If |
This helper provides category usage/fit statistics and threshold summaries
for reviewing score-category functioning.
The category usage portion is a global observed-score screen. In PCM fits
with a step_facet, threshold diagnostics should be interpreted within each
StepFacet rather than as one pooled whole-scale verdict.
Typical checks:
sparse category usage (Count, ExpectedCount)
category fit (Infit, Outfit, ZStd)
threshold ordering within each StepFacet
(threshold_table$Estimate, GapFromPrev)
A named list with:
category_table: category-level counts, expected counts, fit, and ZSTD
threshold_table: model step/threshold estimates
summary: one-row summary (usage and threshold monotonicity)
Start with summary:
UsedCategories close to total Categories suggests that most score
categories are represented in the observed data.
very small MinCategoryCount indicates potential instability.
ThresholdMonotonic = FALSE indicates disordered thresholds within at
least one threshold set. In PCM fits, inspect threshold_table by
StepFacet before drawing scale-wide conclusions.
Then inspect:
category_table for global category-level misfit/sparsity.
threshold_table for adjacent-step gaps and ordering within each
StepFacet.
Fit model: fit_mfrm().
Build diagnostics: diagnose_mfrm().
Run rating_scale_table() and review summary().
Use plot() to visualize category profile quickly.
For a plot-selection guide and a longer walkthrough, see
mfrmr_visual_diagnostics and
vignette("mfrmr-visual-diagnostics", package = "mfrmr").
The category_table data.frame contains:
Score category value.
Observed count and percentage of total.
Mean person measure for respondents in this category.
Category-level fit statistics.
Standardized fit values.
Expected count and observed-expected difference.
Logical; TRUE if count is below minimum threshold.
Fit-based warning flags.
The threshold_table data.frame contains:
Step label (e.g., "1-2", "2-3").
Estimated threshold/step difficulty (logits).
Threshold family identifier when the fit uses facet-specific threshold sets.
Difference from the previous threshold within the same
StepFacet when thresholds are facet-specific. Gaps below
1.4 logits may indicate category underuse; gaps above 5.0 may
indicate wide unused regions (Linacre, 2002).
Logical flag repeated within each threshold set.
For PCM fits, read this within StepFacet, not as a pooled item-bank
verdict.
diagnose_mfrm(), measurable_summary_table(), plot.mfrm_fit(),
mfrmr_visual_diagnostics
toy <- load_mfrmr_data("example_core")
fit <- fit_mfrm(toy, "Person", c("Rater", "Criterion"), "Score", method = "JML", maxit = 25)
t8 <- rating_scale_table(fit)
summary(t8)
summary(t8)$summary
p_t8 <- plot(t8, draw = FALSE)
class(p_t8)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.