itemfitPlot | R Documentation |
This function takes a fitted mirt-model and visualizes item infit and outfit estimates. The function builds on mirt::itemfit()
. Currently only supported fact_stats = "infit"
.
itemfitPlot(
model,
fit_stats = "infit",
color = "red",
shape = 17,
title = "Item Infit and Outfit Statistics",
...
)
model |
an object of class |
fit_stats |
a character vector indicating which fit statistics should be computed. See |
color |
color of the item points. |
shape |
shape of the item points |
title |
title for the plot (defaults to "Item Infit and Outfit Statistics") |
a ggplot
Linacre JM. (2002). What do Infit and Outfit, Mean-square and Standardized mean? Rasch Measurement Transactions, 16(2), p.878. https://www.rasch.org/rmt/rmt162f.htm
library(mirt)
library(ggmirt)
data <- expand.table(LSAT7)
(mod <- mirt(data, 1))
itemfitPlot(mod, fit_stats = "infit")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.