powered by
Calculates the correlation between a single item's score and the rest of the total score.
pbiserial_rest(item, rest)
The point-biserial correlation coefficient.
A numeric vector of dichotomous item scores (0/1).
A numeric vector of the total scores, excluding the item.
item1 <- c(1, 0, 1, 0, 1, 1) rest_score <- c(10, 8, 12, 5, 9, 11) pbiserial_rest(item1, rest_score)
Run the code above in your browser using DataLab