Mathematics and Statistics · Ch 14 — Correlation
Karl Pearson's Coefficient of Correlation
Karl Pearson's Coefficient of Correlation
A scatter diagram shows direction but not an exact strength. Karl Pearson's coefficient of correlation, denoted (or ), measures the degree of linear correlation between two variables by a single number. For pairs with means and , it is defined as the ratio of the covariance of and to the product of their standard deviations:
Writing this out in full (the factors cancel), the working formulae are:
and, expanded so it can be used straight from the raw totals,
The two formulae are algebraically identical; use the deviation form when the means are whole numbers and the raw-total form otherwise.
Properties of (each worth knowing for theory questions):
- lies between and , i.e. . It can never exceed these limits; a computed value outside this range signals an arithmetic error.
- Sign shows direction: means positive correlation, negative, no linear correlation.
- is a pure number — it has no unit and does not depend on the units of measurement (rupees, kg, cm all give the same ). …
A measure of the degree of linear correlation between two variables, equal to ; it always l …
The average of the products of paired deviations, ; its sign gives the dir …