Point-Biserial and Phi Coefficients
Both are just Pearson correlation applied when one or both variables are binary rather than continuous, point-biserial for one continuous and one binary variable, phi for two binary variables, so the usual correlation intuition still applies.
Prerequisites: Correlation
Ordinary Pearson correlation is defined for two continuous variables, but plenty of practical questions pair a continuous measurement with a yes/no outcome, does a stock's daily return correlate with whether an earnings beat happened, coded as 0 or 1? The point-biserial correlation is exactly Pearson's correlation formula applied directly to that pairing, with the binary variable simply coded as 0 and 1; it can equivalently be computed as a scaled difference between the mean of the continuous variable in the "1" group versus the "0" group, which is why it is closely related to a two-sample -test, a significant point-biserial correlation and a significant -test on the same group difference will always agree.
The phi coefficient handles the case where both variables are binary, for instance, whether a trade was a buy (yes/no) and whether it occurred in the last hour of trading (yes/no), and again is just Pearson correlation with both variables coded 0/1. It can be computed directly from a 2x2 contingency table's four cell counts, and it is mathematically identical to for that table's chi-squared statistic, tying it directly to the standard test of independence for categorical data.
Point-biserial (one continuous, one binary variable) and phi (two binary variables) are both ordinary Pearson correlation with binary variables coded as 0/1, no separate formula or intuition is needed beyond correlation itself.
Discussion
💡 Discussion rules
- Ask and answer about this concept. Off-topic gets removed.
- No homework dumps. Show what you tried first.
- Corrections are welcome. Cite a source when you claim an error.
Loading discussion…
Related concepts
Practice in interviews
Further reading
- Tate, Correlation Between a Discrete and a Continuous Variable (1954, Annals of Mathematical Statistics)