print, summary, and plot methods for objects of the
scDIFtest-class, as returned by scDIFtest. See details
for more information about the methods.
# S3 method for scDIFtest
print(x, item_selection = NULL, ...)# S3 method for scDIFtest
summary(object, method = "fdr", ...)
# S3 method for scDIFtest
plot(x, item_selection = NULL, ...)
an object of class scDIFtest
either NULL or an integer vector selecting the
item numbers. When items = NULL (the default), the DIF test
is done for all items.
other arguments passed to the method.
an object of class scDIFtest
one of the strings in p.adjust.methods.
The print method, whenitem_selection = NULL, gives a summary
of all the tests that were executed (i.e., for all items). When specific
items are selected, the print method is called repeatedly for each
individual sctest corresponding with the selected items.
The summary method computes a data frame with a row for each item
that was included in the test. The columns are:
The estimated IRT model per item
The number of estimated parameters per item
The value for the used statistic per item
The p-value per item
The corrected p-value controlling the false discovery rate
(Benjamini & Hochberg, 1995). See p.adjust for
details.
The plot method call the plot method repeatedly for the
gepf that corresponds with the executed score test for each of the
selected items. When no items are selected, the plot method results
in an error.
Benjamini, Y., and Hochberg, Y. (1995). Controlling the false discovery rate: a practical and powerful approach to multiple testing. Journal of the Royal Statistical Society Series B, 57, 289-300.