Definition
Correlation is a statistical measure that quantifies the degree and direction of a linear relationship between two quantitative variables. The most common form is the Pearson product‑moment correlation coefficient, denoted $r$, which ranges from ‑1 (perfect negative linear relationship) through 0 (no linear relationship) to +1 (perfect positive linear relationship).
Mathematical Expression
For a sample of paired observations $(x_i, y_i)$ with means $\bar{x}$ and $\bar{y}$ and standard deviations $s_x$ and $s_y$, the Pearson correlation coefficient is
$$ r = \frac{\sum_{i=1}^{n}(x_i-\bar{x})(y_i-\bar{y})}{(n-1)s_x s_y}. $$
Historical Background
- The concept of correlation emerged in the late 19th century.
- Sir Francis Galton introduced the term “correlation” in 1888 while studying the inheritance of height.
- Karl Pearson formalized the Pearson product‑moment correlation coefficient in 1896, providing the mathematical foundation still used today.
Types of Correlation
| Type | Description | Typical Use |
|---|---|---|
| Pearson (linear) correlation | Measures linear association; sensitive to outliers. | Continuous variables with approximately normal distributions. |
| Spearman rank correlation | Non‑parametric; based on rank order of data. | Ordinal data or continuous data that violate normality assumptions. |
| Kendall’s tau | Non‑parametric; assesses concordance of pairs. | Small sample sizes or data with many tied ranks. |
| Partial correlation | Correlation between two variables while controlling for one or more additional variables. | Multivariate analyses to isolate direct relationships. |
| Canonical correlation | Extends correlation to sets of multiple variables. | Studying relationships between two multivariate datasets. |
Interpretation Guidelines
Interpretation of the magnitude of $r$ depends on context, but common heuristics (subject to disciplinary norms) are:
- 0.00–0.19: Very weak
- 0.20–0.39: Weak
- 0.40–0.59: Moderate
- 0.60–0.79: Strong
- 0.80–1.00: Very strong
These thresholds are not absolute; domain‑specific expectations (e.g., in psychology versus physics) may differ.
Assumptions for Pearson Correlation
- Linearity – The relationship between variables is approximately linear.
- Homoscedasticity – The variance of one variable is constant across values of the other.
- Normality – Each variable is roughly normally distributed (especially important for inference).
- Independence – Observations are independent of one another.
Violations can lead to misleading values; alternative measures (Spearman, Kendall) are often employed in such cases.
Statistical Inference
- Hypothesis testing: The null hypothesis $H_0: \rho = 0$ (no population correlation) is commonly tested using a t‑distribution:
$$ t = r\sqrt{\frac{n-2}{1-r^{2}}} \sim t_{n-2}. $$
- Confidence intervals: Fisher’s $z$-transformation converts $r$ to a variable $z$ with approximately normal distribution, facilitating interval estimation.
Applications
- Science and engineering: Correlation analysis identifies relationships among physical measurements, sensor readings, and experimental variables.
- Social sciences: Used to explore associations between behavioral, demographic, or attitudinal variables.
- Finance: Correlation matrices inform portfolio diversification and risk management.
- Machine learning: Feature selection often employs correlation to remove redundant predictors.
Limitations
- Causation vs. association: Correlation alone does not establish causal direction.
- Sensitivity to outliers: A single extreme observation can substantially alter the coefficient.
- Restricted to linear relationships: Non‑linear dependencies may produce low Pearson $r$ despite strong association; visual inspection or non‑linear measures are needed.
Related Concepts
- Covariance – The unscaled counterpart to correlation; correlation is covariance normalized by the product of standard deviations.
- Regression – While correlation assesses association, regression models predict one variable from another, incorporating an explicit functional form.
- Cross‑correlation – Extension to time‑series data, measuring similarity as a function of lag.
References
- Galton, F. (1888). Co‑relations and their measurement, chiefly from Anthropometric data. Journal of the Royal Statistical Society.
- Pearson, K. (1896). Mathematical contributions to the theory of evolution. IX. On the correlation of characters. Philosophical Transactions of the Royal Society A.
- Cohen, J., Cohen, P., West, S. G., & Aiken, L. S. (2013). Applied multiple regression/correlation analysis for the behavioral sciences (3rd ed.). Routledge.
All information reflects consensus in standard statistical literature up to the knowledge cutoff date.