a positive association
- X values
- 1, 2, 3, 4, 5, 6
- Y values
- 2, 4, 5, 4, 5, 7
Correlation coefficient0.88
Computed independently from the Pearson formula
Open this examplePearson correlation between two variables, with R squared and a caution about sample size. Correlation measures straight-line association only, and a strong curved relationship can show r near zero.
Also called: pearson r calculator, correlation calculator.
r is 0.88, which is strong. It explains 77.14% of the variation. Correlation is not causation, and with only 6 pairs this is far too few to be reliable.
Covariance measures whether two variables move together, and dividing by both standard deviations normalises it to between minus one and one so it can be compared across datasets. R squared is the share of variation in one variable explained by the other. Two limits matter: it only detects linear association, so a perfect parabola scores near zero, and on a handful of points a high r is entirely consistent with no relationship at all.
Pearson correlation: covariance normalised by both standard deviationsEach of these is asserted on every build. If a change to the engine ever moved one of these answers, the build would fail before the page could print it.
Correlation coefficient0.88
Computed independently from the Pearson formula
Open this exampleCorrelation coefficient1
boundary: the definitional case
Open this exampleFormula version 1.0.0 · definition 1.0.0 · United States · Report a problem with this calculator