*** Welcome to piglix ***

Phi coefficient


In statistics, the phi coefficient (also referred to as the "mean square contingency coefficient" and denoted by φ (or rφ)) is a measure of association for two binary variables. Introduced by Karl Pearson, this measure is similar to the Pearson correlation coefficient in its interpretation. In fact, a Pearson correlation coefficient estimated for two binary variables will return the phi coefficient. The square of the Phi coefficient is related to the chi-squared statistic for a 2×2 contingency table (see Pearson's chi-squared test)

where n is the total number of observations. Two binary variables are considered positively associated if most of the data falls along the diagonal cells. In contrast, two binary variables are considered negatively associated if most of the data falls off the diagonal. If we have a 2×2 table for two random variables x and y

where n11, n10, n01, n00, are non-negative counts of number of observations that sum to n, the total number of observations. The phi coefficient that describes the association of x and y is

Phi is related to the point-biserial correlation coefficient and Cohen's d and estimates the extent of the relationship between two variables (2×2).

The Phi coefficient can also be expressed using only , , , and , as


...
Wikipedia

...