View source: R/diffic_and_discrim.R
Item difficulty and discrimination | R Documentation |
Item difficulty and discrimination.
diffic(x)
discrim(x, frac = 1/3)
x |
A numerical matrix with 0s (wrong answer) and 1s (correct answer). |
frac |
A number between 0 and 1 used to calculate the difficulty of each question. |
The difficulty and the discrimination of each question (item) are calculated.
A vector with the item difficulties or item discriminations.
Michail Tsagris.
R implementation and documentation: Michail Tsagris mtsagris@uoc.gr.
Kaplan E. L. and Meier P. (1958). Nonparametric estimation from incomplete observations. Journal of the American Statistical Association, 53(282): 457-481.
Quantile, colmeansvars
x <- matrix(rbinom(100 * 10, 1, 0.7), ncol = 10)
diffic(x)
discrim(x)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.