| plot.ksIRT {KernSmoothIRT} | R Documentation |
Plot Method for ksIRT - kernel smoothing in Item Response Theory
Description
The plot method for ksIRT objects includes a variety of exploratory plotting tools.
Usage
## S3 method for class 'ksIRT'
plot(x, plottype = c("OCC", "EIS", "density", "expected", "sd",
"triangle", "tetrahedron", "RCC", "EISDIF", "OCCDIF", "PCA", "expectedDIF",
"densityDIF"), items = "all", subjects, axistype = c("scores", "distribution"),
alpha, main, xlab, ylab, xlim, ylim, cex, ...)
Arguments
x |
a |
plottype |
the type of plot to be created (see section Details below).
With the default value, |
items |
a vector containing the items to be plotted.
With the default value, |
alpha |
either |
subjects |
a vector specifying the subjects to plot.
This argument is only used when |
axistype |
a character string specifying the display variable to be used on the x-axis.
The default is |
main, xlab, ylab, xlim, ylim, cex |
plotting parameters (see |
... |
further plotting parameters. |
Details
Possible values for plottype are:
plottype="density"-
produces a simple kernel density plot of the observed scores.
plottype="EIS"-
plot of the expected item scores for each of the item numbers in the
itemsargument. plottype="OCC"-
plot of the option characteristic curves for each of the item numbers in the
itemsargument. plottype="expected"-
plot of the observed vs. expected scores.
plottype="sd"-
plot of the standard deviation of observed scores.
plottype="RCC"-
plots the RCC and actual score for each subject specified by the
subjectsargument. plottype="triangle"-
produces a triangle simplex plot with the highest 3 probability options for each item specified by the
itemsargument. plottype="tetrahedron"-
produces a tetrahedron simplex plot with the highest 4 probability options for each item specified by the
itemsargument. The tetrahedron plot can be rotated by using the mouse. plottype="PCA"-
produces Principle Component Analysis plot of the test.
Below are values for plottype used for Differential Item Functioning (DIF) plots.
They are available only if the groups argument is specified when creating the ksIRT object:
plottype="densityDIF"-
plots density of observed scores for each of the different groups.
plottype="expectedDIF"-
plots pairwise expected value comparison plots for each of the different groups.
plottype="EISDIF"-
plots expected item scores for each of the different groups. Accepts the same arguments as
plottype="EIS", but by default does not show confidence intervals. This can be changed with thealphaargument. plottype="OCCDIF"-
plots option characteristic curves for each of the different groups. Accepts the same arguments as
plottype="OCC"
Value
No values are returned from the plot function.
References
Mazza A, Punzo A, McGuire B. (2014). KernSmoothIRT: An R Package for Kernel Smoothing in Item Response Theory. Journal of Statistical Software, 58 6, 1-34. URL: http://www.jstatsoft.org/v58/i06/.
Ramsay, J.O. (2000). TestGraf: A program for the graphical analysis of multiple choice test and questionnaire data.