Formula
Correlation coefficient from the covariance
Statistics • Correlation and Regression
Formula
Karl Pearson's correlation coefficient is , where are the standard deviations. It always lies in .
How to use it
- 1Why it works: the covariance says whether and move together, but its size depends on the units. Dividing by both standard deviations removes the units, so is a pure number.
- 2Any three of , , , give the fourth.
- 3A variance given in the question must be square-rooted before it goes into the formula.
Worked example
, , . Find .
Step-by-step
- 1
- 2
Answer
Watch out
The formula uses standard deviations, not variances. Putting a variance in its place, or forgetting to square when the variance is asked, gives a wrong answer.