Fetching the page
Fetching the page
Trader Toolkit · Calculator
Pearson’s coefficient of two series you paste or type, with the working.
Two that rise and fall as one:a measure made, a cause not shown.
Correlation coefficient (r)
+0.8286
strong, positive, by the usual convention
Pairs compared
6
values in each series
| # | a | b | a − ā | b − b̄ | product | (a − ā)² | (b − b̄)² |
|---|---|---|---|---|---|---|---|
| 1 | 1 | 2 | −2.5 | −1.5 | 3.75 | 6.25 | 2.25 |
| 2 | 2 | 1 | −1.5 | −2.5 | 3.75 | 2.25 | 6.25 |
| 3 | 3 | 4 | −0.5 | 0.5 | −0.25 | 0.25 | 0.25 |
| 4 | 4 | 3 | 0.5 | −0.5 | −0.25 | 0.25 | 0.25 |
| 5 | 5 | 6 | 1.5 | 2.5 | 3.75 | 2.25 | 6.25 |
| 6 | 6 | 5 | 2.5 | 1.5 | 3.75 | 6.25 | 2.25 |
| Sums, over all 6 pairs | 14.5 | 17.5 | 17.5 | ||||
SimulationA calculation on the figures you entered. A measure of the numbers you typed, for the period they cover. It is not a forecast, and a correlation is not a cause. Educational information, not investment advice or a recommendation to trade.
In plain language
Pearson’s coefficient runs from −1 to +1. At +1 every pair of values lies on one rising straight line; at −1 on a falling one; near zero there is no straight-line relationship to speak of. It is worked out from distances: how far each value sits from its own series’ average, multiplied pair by pair, added up, and scaled so that the units cancel.
The numbers are yours. This page fetches no prices and supplies none: paste two columns from your own records, in the same order and for the same dates. The starting figures are invented, and are there only so that every step of the working has something in it.
What is compared matters more than the formula. Two prices that both drifted upwards over a year correlate strongly even if they are unrelated, because both simply rose. Comparing the change from each value to the next removes that shared drift, and is the usual way to ask whether two markets move together from day to day. The page offers both and says which it used.
A coefficient describes the period it was measured over. It changes, sometimes quickly, and relationships that held for years have broken in a week. It says nothing about why two series moved together, and it is not a forecast that they will.
Continue