Skip to content
Wildflower
Join free
Statistics for traders

Free Trading School · Level 4 · Course 4.0

Correlation: things that move together

Lesson 14 of 17 in Statistics for tradersModule 4: Relationships and reading results

Testing and making it your own · Statistics for traders

Correlation: things that move together

Wildflower Trading School · Lesson 4.0.4.1

Wildflower

Correlation is one number that says how closely two things have moved together. By the end of this lesson, you'll know what the numbers from minus 1 to plus 1 mean, how to read them off a scatter chart, how to work one out by hand, and where it comes up in trading.

1 of 8

What you'll learn

  • Read the scale. Near +1 means together, near −1 means opposite, near 0 means no link.
  • Draw a scatter chart. A tight band means near ±1. A shapeless cloud means near 0.
  • Work it out. Follow four steps by hand, or use CORREL in a spreadsheet.
  • Use it in trading. Compare markets, strategies, or two columns in your own log.
  • Watch its blind spots. It sees only straight lines and shifts over time.

Exercise

  1. Pick two columns in your log: your result in R and one other number you recorded, such as the size.
  2. Draw them as a scatter chart in your spreadsheet, then work out the correlation with CORREL.
  3. Describe in one sentence what the dots look like.

Quick check

  1. 1. A correlation of −0.9 means…

  2. 2. The products add to 8, and step three gives 10. What is the correlation?

  3. 3. Why might a correlation be near zero even when two things are linked?

0 of 3 answered.

Finished this lesson?

Tick it off and keep your place

Make a free account and we'll remember where you are, so “Correlation is not cause” is waiting next time.

Read the full notes

Correlation is a number from −1 to +1 that says how closely two things have moved together in a straight line.

  • runs from −1 to +1. Near +1: two things have tended to rise and fall together. Near −1: one rises as the other falls. Near 0: no straight-line link.
  • On a , a correlation near ±1 is a tight band of dots; near 0 it's a shapeless cloud.
  • By hand: (1) take each list's away from its numbers; (2) multiply each pair of distances and add; (3) square each list's distances, add, multiply the two totals and take the square root; (4) divide (2) by (3). In a spreadsheet: CORREL.
  • In trading: between markets ( such as the and Micro ), between strategies, and inside your own log. See Market correlation.
  • Blind spots: it only sees straight-line links, it changes over time, and with only a few points it jumps around.

Worked example

Made-up numbers

Two strategies over five days

Made-up numbers: daily results in . A: −1, 0, 1, 2, 3. B: 0, −1, 2, 1, 3.

  1. Both means are 1. Distances: A −2, −1, 0, 1, 2; B −1, −2, 1, 0, 2
  2. Products: 2 + 2 + 0 + 0 + 4 = 8
  3. Squares: A 4 + 1 + 0 + 1 + 4 = 10; B 1 + 4 + 1 + 0 + 4 = 10; √(10 × 10) = 10
  4. 8 ÷ 10 = 0.8

A correlation of +0.8: on these five days, the two mostly had good and bad days together.

Your turn

Drill

Made-up numbers · products of the distances add up to 6 · squared distances add up to 10 for one list and 40 for the other

Trading is risky, and you can lose money. Past results, real or made-up, don't tell you what comes next. This lesson explains how to read numbers. It isn't advice.