pbiserial_rest: Point-biserial correlation for item analysis

View source: R/utils.R

pbiserial_restR Documentation

Point-biserial correlation for item analysis

Description

Calculates the correlation between a single item's score and the rest of the total score.

Usage

pbiserial_rest(item, rest)

Arguments

item

A numeric vector of dichotomous item scores (0/1).

rest

A numeric vector of the total scores, excluding the item.

Value

The point-biserial correlation coefficient.

Examples

item1 <- c(1, 0, 1, 0, 1, 1)
rest_score <- c(10, 8, 12, 5, 9, 11)
pbiserial_rest(item1, rest_score)

examly documentation built on Nov. 19, 2026, 5:11 p.m.