pointbiserial
The point-biserial correlation coefficient, typically denoted r_pb, is a measure of the strength and direction of the association between a dichotomous (binary) variable and a continuous variable. It is a special case of the Pearson correlation when one variable is binary coded as 0 and 1. It is commonly used in psychology, education, medicine, and social sciences to assess how a binary grouping relates to a quantitative outcome.
Calculation is based on the means of the continuous variable in the two groups defined by the
Interpretation focuses on direction and strength. The value of r_pb ranges from -1 to 1. A positive
Assumptions and cautions include that Y should be measured on at least an interval scale, observations should