| pbiserial_rest | R Documentation |
Calculates the correlation between a single item's score and the rest of the total score.
pbiserial_rest(item, rest)
item |
A numeric vector of dichotomous item scores (0/1). |
rest |
A numeric vector of the total scores, excluding the item. |
The point-biserial correlation coefficient.
item1 <- c(1, 0, 1, 0, 1, 1)
rest_score <- c(10, 8, 12, 5, 9, 11)
pbiserial_rest(item1, rest_score)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.