Skip to content

Correlation: what moves together

Reading the correlation matrix, the strongest links with your chosen result, and the scatter plot behind each square.

Updated

Good for: seeing at a glance which measurements rise and fall together, and which ones move with the result you care about.

Misleads when: two things move together because a third drives both, or because both drift with time. Correlation is not causation, and r only sees straight-line links.

The matrix #

Each square compares two columns of the frame on the rows where both have a value. Its number is r, from -1 to +1:

rMeaning
Near +1 (orange)When one is high, the other is high
Near 0 (grey)No straight-line link
Near -1 (blue)When one is high, the other is low

The columns are ordered so that related ones sit next to each other, which makes groups of linked measurements show as blocks. Choose a square to see its scatter plot.

The list beside the matrix ranks the columns by how strongly they move with the result chosen at the top of the page, with a verdict on whether the link could be chance. r squared is the share of the result's variation that a straight line on that one column would explain.

The scatter plot #

Each dot is one row. The line is the straight line that fits best. A curve, two separate clouds, or a few far-off dots all change r a lot: always look at the scatter before trusting the number.

Example #

A frame of hourly averages shows r = 0.82 between a bore diameter and a wall thickness on the same workcenter. Both rise in the afternoons. That may be the same cause (heat, tool wear) acting on both, not one causing the other.

Was this helpful?
Thank you. It helps us write better articles.