Correlation vs Association

Both terms below come up in the same part of the course, and students mix them up. Here is each one defined on its own, side by side, so you can see where they part company.

Correlation

Regression and correlation

Correlation measures the strength and direction of the linear relationship between two quantitative variables on a unit-free scale from -1 to 1.

Correlation reports how tightly the points in a scatterplot hug a straight line and which way that line tilts, and it carries no units, so switching from inches to centimeters leaves it unchanged. The value rr is computed as r=1n1(xixˉsx)(yiyˉsy)r = \frac{1}{n-1}\sum \left(\frac{x_i - \bar{x}}{s_x}\right)\left(\frac{y_i - \bar{y}}{s_y}\right), where xˉ\bar{x} (read x-bar) and sxs_x are the mean and standard deviation of xx. The catch is that rr sees straight-line patterns only: the five points (2,4)(-2, 4), (1,1)(-1, 1), (0,0)(0, 0), (1,1)(1, 1), (2,4)(2, 4) follow y=x2y = x^2 perfectly, yet r=0r = 0. Correlation is also not resistant, so one far-out point can drag rr up or down on its own.

Full entry for correlation

Association

Regression and correlation

Two variables are associated when knowing the value of one changes what you expect for the other, whether the pattern is linear or curved.

Association is the broad idea and correlation is one narrow measure of it. For two quantitative variables you describe an association by its form (linear or non-linear), direction (positive or negative), strength, and unusual features, so a curved pattern still counts as a real association. For example, braking distance grows roughly with the square of speed, so 20, 40, and 60 mph pair with about 20, 80, and 180 feet: doubling the speed quadruples the distance (4×20=804 \times 20 = 80), a strong association that no straight line captures well. Association also applies to two categorical variables, where you compare conditional percentages in a two-way table and correlation does not apply at all.

Full entry for association

Where each one fits in the course