| plotTIC_gg | R Documentation |
This function takes exametrika IRT or GRM output as input and generates a Test Information Curve (TIC) using ggplot2. TIC shows the total information provided by all items at each ability level.
plotTIC_gg(
data,
xvariable = c(-4, 4),
title = TRUE,
colors = NULL,
linetype = "solid",
show_legend = FALSE,
legend_position = "right"
)
data |
An object of class |
xvariable |
A numeric vector of length 2 specifying the range of the
x-axis (ability). Default is |
title |
Logical or character. If |
colors |
Character vector. Color(s) for the curve.
If |
linetype |
Character or numeric specifying the line type.
Default is |
show_legend |
Logical. If |
legend_position |
Character. Position of the legend.
One of |
The Test Information Function is the sum of all Item Information Functions. It indicates how precisely the test as a whole measures ability at each point on the theta scale. The reciprocal of test information is approximately equal to the squared standard error of measurement.
The function supports IRT models (2PL, 3PL, 4PL) and GRM.
A single ggplot object showing the Test Information Curve.
plotICC_gg, plotIIC_gg, plotICRF_gg
library(exametrika)
# IRT example
result_irt <- IRT(J15S500, model = 3)
plot_irt <- plotTIC_gg(result_irt)
plot_irt # Show Test Information Curve
# GRM example
result_grm <- GRM(J5S1000)
plot_grm <- plotTIC_gg(result_grm)
plot_grm # Show Test Information Curve
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.