View source: R/02_TestItemFunctions.R
ItemThreshold | R Documentation |
Item threshold is a measure of difficulty based on a standard normal distribution. This function is applicable only to binary response data.
The threshold is calculated as:
\tau_j = \Phi^{-1}(1-p_j)
where \Phi^{-1}
is the inverse standard normal distribution function
and p_j
is the correct response rate for item j.
Higher threshold values indicate more difficult items, as they represent the point on the standard normal scale above which examinees tend to answer incorrectly.
ItemThreshold(U, na = NULL, Z = NULL, w = NULL)
## S3 method for class 'binary'
ItemThreshold(U, na = NULL, Z = NULL, w = NULL)
## S3 method for class 'ordinal'
ItemThreshold(U, na = NULL, Z = NULL, w = NULL)
U |
Either an object of class "exametrika" or raw data. When raw data is given,
it is converted to the exametrika class with the |
na |
Values to be treated as missing values. |
Z |
Missing indicator matrix of type matrix or data.frame. Values of 1 indicate observed responses, while 0 indicates missing data. |
w |
Item weight vector specifying the relative importance of each item. |
A numeric vector of threshold values for each item on the standard normal scale. Typical values range from about -3 to 3, where:
Positive values indicate difficult items
Zero indicates items of medium difficulty (50% correct)
Negative values indicate easy items
This function is implemented using a binary data compatibility wrapper and will raise an error if used with polytomous data.
# using sample dataset
ItemThreshold(J5S10)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.