Test Item Difficulty and Discrimination
Summarize item proportions correct, discrimination measures and test scores descriptively from binary test scores
All items have equal weight: 1 point for a correct answer and 0 for an incorrect answer. Discrimination indices and correlations do not establish pass/fail status or certify ability.
Results
—%
- Mean total score
- —points
- Number of examinees
- —
- Number of items
- —
- Sample SD of total scores
- —points
- KR-20 (internal consistency)
- —
- Examinees in each upper/lower group
- —
Results update automatically when the required values are entered.
Method, applicability and sources
Calculation method
Let n be the number of examinees, k the number of items, xᵢⱼ∈{0,1} the score on item j, and Tᵢ=Σⱼxᵢⱼ the total score. Item difficulty pⱼ=Σᵢxᵢⱼ/n is the proportion correct, so larger values indicate easier items. The corrected item-rest correlation is rⱼ=Pearson(xⱼ,T−xⱼ). Upper–lower discrimination is Dⱼ=pⱼ(upper group)−pⱼ(lower group). Rank by T and use ⌊proportion×n⌋ examinees per group; do not calculate D when scores tie at a group boundary. Sample SD of total scores=√[Σᵢ(Tᵢ−mean T)²/(n−1)]. KR-20=k/(k−1)×[1−Σⱼpⱼ(1−pⱼ)/{Σᵢ(Tᵢ−mean T)²/n}]. The relevant measures are not calculated when n<2, k<2 or variance is 0, or when item or rest-score variance is 0.
Worked example (hypothetical values)
For 10 anonymous examinees and 5 items, all 50 scores with totals of 5,4,4,3,3,2,2,1,1,0 give a mean of 2.5 points and sample SD≈1.5811 points. There are 25 correct answers, so the mean proportion correct is 50%. Item correlations and KR-20 also depend on the pattern of individual scores.
Applicability and limitations
Anonymous 0/1 test scores where all examinees answered the same set of at least 2 items. With 1 item, only defined measures such as proportion correct are calculated. Does not impute missing values, apply scoring weights, award partial credit, analyze distractors, correct for guessing, use IRT, determine pass/fail status or assess examinee ability. Correlations and group measures are unstable in small samples.
Method and sources
Method: CTT binary scores: p, corrected Pearson item-rest correlation, upper–lower difference D, and KR-20 (2026-11-14 specification). Data recorded: 2026-11-14.