Home / Methods / Statistics / Correlation
Correlation
When you want to check whether two measures move together.
What you need
- first series
- second series
What it calculates
- how strong and linear the relationship between the two series is (from -1 to 1)
- how strong the monotonic relationship is, even if it isn't linear (from -1 to 1)
- how much of the variance in one series is explained by a linear link to the other (0…1)
- the covariance — how the two series vary together, in their original units
- how many paired values went into the calculation, pairs
Examples
Advertising and sales over eight weeks
| how strong and linear the relationship between the two series is (from -1 to 1) | 0.9653 |
| how strong the monotonic relationship is, even if it isn't linear (from -1 to 1) | 0.9581 |
| how much of the variance in one series is explained by a linear link to the other (0…1) | 0.9318 |
| the covariance — how the two series vary together, in their original units | 5.5 |
Experience and salary: 1–8 years, 20, 22, 25, 30, 38, 50, 68, 95 thousand
| how strong and linear the relationship between the two series is (from -1 to 1) | 0.927 |
| how strong the monotonic relationship is, even if it isn't linear (from -1 to 1) | 1 |
| how much of the variance in one series is explained by a linear link to the other (0…1) | 0.8594 |
| the covariance — how the two series vary together, in their original units | 59.8571 |
| how many paired values went into the calculation | 8 pairs |
Example numbers are checked against an independent calculation. The AI in Numo does not compute: it only parses your question; a deterministic engine does the maths.
Careful
Correlation does NOT prove causation. It also only catches linear relationships — a perfect parabola gives r close to zero. That's why Spearman sits next to it: it picks up non-linear but still monotonic relationships.
Typical mistakes
- Inferring causation from correlation.
- Using Pearson for a non-linear relationship — Spearman fits better.