What correlation measures linear association between a binary indicator and a continuous outcome?
StatisticsLevel: IntermediateDependence and ranking
What correlation measures linear association between a binary indicator and a continuous outcome?
Hints
- Treat the binary value numerically.
- Coding determines direction.
Answer
Point-biserial correlation, equivalent to Pearson correlation with the indicator coded 0/1. Reversing the binary coding reverses its sign.
Source and licence: SciPy — statistical estimators and hypothesis tests · BSD-3-Clause · answer: Quantoros editorial