KR-20: internal-consistency coefficient for dichotomous items.
k: number of items in the test.
pi: proportion of correct responses to item i.
qi = 1 − pi: proportion of incorrect responses to item i.
piqi: variance of dichotomous item i.
Σpiqi: sum of the item variances.
SX2: variance of the total test score.