Think Again app poster showing 10 interactive philosophy experiments, 50 insight cards, and 133,000 plus responses.

New on iPhone

Try Think Again

10 interactive philosophy experiments and 50 insight cards built from 133,000 plus responses.

Download on the App Store

Phi Coefficient (φ) Calculator

This Phi coefficient calculator measures the association between two dichotomous (binary) variables. It is equivalent to Pearson's correlation coefficient when both variables are dichotomous, and is particularly useful for 2×2 contingency tables.

Further Information

The Phi coefficient (φ) is a measure of association for two dichotomous variables. It ranges from -1 to +1, similar to Pearson's correlation coefficient. The Phi coefficient is mathematically equivalent to the square root of the chi-square statistic divided by the sample size.

Requirements

  • Two dichotomous (binary) variables
  • Data organized in a 2×2 contingency table
  • Independent observations

Null Hypothesis

H₀: φ = 0 (no association between the two variables)

The null hypothesis states that there is no association between the two dichotomous variables. A significant result suggests that the observed association is unlikely to be due to chance.

Equation

φ = (ad - bc) / √[(a+b)(c+d)(a+c)(b+d)]

Where a, b, c, and d are the cell frequencies in a 2×2 table:

Variable 2: YesVariable 2: No
Variable 1: Yesab
Variable 1: Nocd

Relationship to Chi-Square

The Phi coefficient is related to the chi-square statistic by the formula:

φ² = χ² / n

This means that φ can be interpreted as a measure of effect size for the chi-square test of independence on a 2×2 table.

Interpretation

  • φ = +1: Perfect positive association
  • φ = 0: No association (independence)
  • φ = -1: Perfect negative association
  • |φ| = 0.1: Small effect
  • |φ| = 0.3: Medium effect
  • |φ| = 0.5: Large effect
Think Again app banner showing 133,000 plus minds tested and categories including trolley problems, free will, God, personal identity, logic, and moral taboos.