| plot_information | R Documentation |
Visualize the design-weighted precision curve and optionally
per-facet-level contribution curves from compute_information().
plot_information(
x,
type = c("tif", "iif", "se", "both"),
facet = NULL,
draw = TRUE,
...
)
x |
Output from |
type |
|
facet |
For |
draw |
If |
... |
Additional graphical parameters. |
Invisibly, the plot data (tibble).
"tif": overall design-weighted precision across theta.
"se": approximate standard error across theta.
"both": precision and approximate SE together, useful for presentations.
"iif": facet-level contribution curves for one selected facet in an
RSM fit.
Use "tif" for a quick overall read on precision.
Use "se" when standard-error language is easier to communicate than
precision.
Use "both" when you want both views in one figure.
Use "iif" when you want to see which facet levels are shaping the total
precision curve.
The total curve peaks where the realized design is most precise.
SE is derived as 1 / sqrt(precision); lower is better.
Facet-level curves show which facet levels contribute most to that realized precision at each theta.
If the precision peak sits far from the bulk of person measures, the realized design may be poorly targeted.
For type = "tif", "se", or "both", the returned data come from
x$tif. For type = "iif", the returned data are the rows of x$iif
filtered to the requested facet.
Compute information with compute_information().
Plot with plot_information(info) for the total precision curve.
Use plot_information(info, type = "iif", facet = "Rater") for
facet-level contributions.
Use draw = FALSE when you want the plotting data for custom graphics.
compute_information(), fit_mfrm()
toy <- load_mfrmr_data("example_core")
fit <- fit_mfrm(toy, "Person", c("Rater", "Criterion"), "Score",
method = "JML", model = "RSM", maxit = 25)
info <- compute_information(fit)
tif_data <- plot_information(info, type = "tif", draw = FALSE)
head(tif_data)
iif_data <- plot_information(info, type = "iif", facet = "Rater", draw = FALSE)
head(iif_data)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.