Skip to content
p.mba

Type to search tools, guides, glossary terms, frameworks, formula sheets and pages.

Menu

Glossary · Statistics

Correlation Coefficient

Also called: Pearson's r · correlation · r

A number from −1 to +1 measuring the strength and direction of the linear relationship between two variables.

Definition

The Pearson correlation coefficient, developed by Karl Pearson from Francis Galton's work in the 1880s and 1890s, divides the covariance of two variables by the product of their standard deviations. Values near +1 or −1 indicate a tight linear relationship and values near 0 indicate little linear association, though a strong curved relationship can still have r near 0. Correlation does not establish causation, because a third factor or reverse causality can produce it. In simple regression, the square of r equals R-squared.

Formula

r=∑i(xi−xˉ)(yi−yˉ)∑i(xi−xˉ)2 ∑i(yi−yˉ)2r = \frac{\sum_i (x_i - \bar{x})(y_i - \bar{y})}{\sqrt{\sum_i (x_i - \bar{x})^2}\,\sqrt{\sum_i (y_i - \bar{y})^2}}
TeX source
r = \frac{\sum_i (x_i - \bar{x})(y_i - \bar{y})}{\sqrt{\sum_i (x_i - \bar{x})^2}\,\sqrt{\sum_i (y_i - \bar{y})^2}}

Worked example

Hypothetical: across 40 stores, the correlation between local ad spend and sales is 0.6, so ad spend alone explains 0.6² = 36% of the variation in sales. Larger stores may simply receive more ad budget, so the figure says nothing yet about causation.

Try it in a tool

  • R-Squared: The share of the variation in an outcome that a regression model explains, from 0 to 1.
  • Linear Regression: A statistical method that models an outcome as a linear combination of predictors, choosing coefficients that minimize the sum of squared errors.
  • Omitted Variable Bias: Distortion in a regression coefficient caused by leaving out a variable that affects the outcome and is correlated with an included predictor.
  • Multicollinearity: High correlation among a regression's predictors, which makes individual coefficient estimates unstable and their standard errors large.
  • Standard Deviation: A measure of how spread out values are around their mean, in the same units as the data.

Courses

More in Statistics

All glossary terms