What is the correlation ratio (eta), and how does it catch non-linear and categorical associations Pearson's r misses?

Quick Overview

Explain the correlation ratio eta, how it measures the share of a continuous variable's variance explained by group membership, and why it detects patterns Pearson's r misses. Tests the ANOVA connection, the link between eta and r, and its small-sample bias and other limits.

What is the correlation ratio (eta), and how does it catch non-linear and categorical associations Pearson's r misses?

Role: Data Scientist

Category: Statistics & Math

Difficulty: medium

Interview Round: Other

What is the correlation ratio (eta), and how does it capture non-linear or categorical-to-continuous association that Pearson's r misses? ```hint Decompose the variance Split the total sum of squares of the continuous variable into the part explained by the group means and the part left inside the groups. ``` ```hint Try a symmetric pattern Compute Pearson's r for $Y = X^2$ with $X$ spread symmetrically around zero, then look at what the mean of $Y$ does for each value of $X$. ``` ### What a Strong Answer Covers - The definition of eta squared as a ratio of sums of squares, and what 0 and 1 mean - Why comparing group means detects non-monotonic patterns and nominal predictors that a linear correlation cannot - The links to one-way ANOVA, the point-biserial correlation, and the relation between eta and r for a numeric predictor - Limits such as the missing sign, asymmetry, dependence on binning, and blindness to differences in spread - The upward bias in small samples with many groups, and how to correct or test for it ### Follow-up Questions - Is the correlation ratio symmetric? What changes if you swap the roles of the two variables? - For a numeric predictor grouped at its distinct values, how does eta compare with $|r|$, and what does the gap tell you? - How would you test whether an observed eta is larger than chance alone would produce? - Which measure would you use instead when both variables are categorical?

Overview: Explain the correlation ratio eta, how it measures the share of a continuous variable's variance explained by group membership, and why it detects patterns Pearson's r misses. Tests the ANOVA connection, the link between eta and r, and its small-sample bias and other limits.

General logo
General
Nov 24, 2026
mediumData ScientistOtherStatistics & Math
0
0

What is the correlation ratio (eta), and how does it capture non-linear or categorical-to-continuous association that Pearson's r misses?

What a Strong Answer Covers Guidance

  • The definition of eta squared as a ratio of sums of squares, and what 0 and 1 mean
  • Why comparing group means detects non-monotonic patterns and nominal predictors that a linear correlation cannot
  • The links to one-way ANOVA, the point-biserial correlation, and the relation between eta and r for a numeric predictor
  • Limits such as the missing sign, asymmetry, dependence on binning, and blindness to differences in spread
  • The upward bias in small samples with many groups, and how to correct or test for it

Follow-up Questions Guidance

  • Is the correlation ratio symmetric? What changes if you swap the roles of the two variables?
  • For a numeric predictor grouped at its distinct values, how does eta compare with ∣r∣|r| , and what does the gap tell you?
  • How would you test whether an observed eta is larger than chance alone would produce?
  • Which measure would you use instead when both variables are categorical?