concept

Phi Coefficient

The Phi coefficient (φ) is a statistical measure of association between two binary variables, calculated from a 2x2 contingency table. It is mathematically equivalent to the Pearson correlation coefficient for binary data, ranging from -1 to 1, where values indicate the strength and direction of the relationship. It is commonly used in fields like psychology, social sciences, and machine learning to assess relationships in categorical data.

Also known as: Phi correlation, Phi coefficient (φ), Matthews correlation coefficient (MCC) for binary, φ coefficient, Phi measure
🧊Why learn Phi Coefficient?

Developers should learn the Phi coefficient when working with binary classification problems, A/B testing, or analyzing categorical data in applications such as user behavior analysis or feature selection in machine learning. It provides a simple, interpretable measure of association that is useful for tasks like evaluating the relationship between two binary features or assessing the performance of binary classifiers against true labels.

Compare Phi Coefficient

Learning Resources

Related Tools

Alternatives to Phi Coefficient