View source: R/api-facet-equivalence.R
| plot_facet_equivalence | R Documentation |
Plot facet-equivalence results
plot_facet_equivalence(
x,
diagnostics = NULL,
facet = NULL,
type = c("forest", "rope"),
draw = TRUE,
...
)
x |
Output from |
diagnostics |
Optional output from |
facet |
Facet to analyze when |
type |
Plot type: |
draw |
If |
... |
Additional graphical arguments passed to base plotting functions. |
plot_facet_equivalence() is a visual companion to
analyze_facet_equivalence(). It does not recompute the equivalence
analysis; it only reshapes and displays the returned results.
Invisibly returns the plotting data. If draw = FALSE, the plotting
data are returned without drawing.
"forest" places each level on the logit scale with its confidence
interval and shades the practical-equivalence region around the weighted
grand mean.
"rope" shows the percentage of each level's uncertainty mass that falls
inside the ROPE.
In the forest plot, the shaded band marks the ROPE
(\pmequivalence_bound around the weighted grand mean).
Levels whose entire confidence interval lies inside this band are
close to the facet grand mean under this descriptive screen. Levels whose
interval extends outside the band are more displaced from the facet average.
Overlapping intervals between two elements suggest they are not
reliably separable, but overlap alone does not establish formal
equivalence—use the TOST results for that.
In the ROPE bar chart, each bar shows the proportion of the element's normal-approximation distribution that falls inside the ROPE-style grand-mean proximity. Values > 95\ the element's normal-approximation uncertainty falls near the facet average; 50–95\ meaningfully displaced from that average.
Run analyze_facet_equivalence().
Start with type = "forest" to see the facet on the logit scale.
Switch to type = "rope" when you want a ranking of levels by
grand-mean proximity.
analyze_facet_equivalence()
toy <- load_mfrmr_data("example_core")
fit <- fit_mfrm(toy, "Person", c("Rater", "Criterion"), "Score",
method = "JML", maxit = 25)
eq <- analyze_facet_equivalence(fit, facet = "Rater")
pdat <- plot_facet_equivalence(eq, type = "forest", draw = FALSE)
c(pdat$facet, pdat$type)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.