Statistics & Analysis
Correlation
Definition
Correlation is a statistical measure that quantifies the degree and direction of the association between two variables. A positive correlation means that as one variable increases, the other tends to increase as well; a negative correlation means that as one variable increases, the other tends to decrease. Correlation coefficients range from negative 1 (perfect inverse relationship) to positive 1 (perfect direct relationship), with zero indicating no linear relationship. The most widely used measure is the Pearson product moment correlation coefficient, which captures linear associations between continuous variables. Spearman's rank correlation and Kendall's tau are used for ordinal data or when the relationship is monotonic but not necessarily linear.
Why it matters
Correlation is one of the most commonly reported statistics in research because it answers a basic and important question: do two variables move together? In clinical research, correlations help identify risk factors, validate measurement instruments, and explore dose response relationships. In social science, correlations reveal associations between attitudes, behaviors, and outcomes. Understanding correlation is also essential for recognizing its limitations, most importantly that correlation does not imply causation. The observation that two variables are correlated could reflect a direct causal relationship, a reverse causal relationship, the influence of a confounding variable, or chance.
How it works
The Pearson correlation coefficient (r) is calculated by dividing the covariance of two variables by the product of their standard deviations. The formula produces a value between negative 1 and positive 1. The significance of a correlation is tested using a t test that evaluates whether the observed r differs significantly from zero, with the p value depending on both the size of the correlation and the sample size. The coefficient of determination (r squared) indicates the proportion of variance in one variable that is explained by the other. As a nonparametric alternative, Spearman's rho ranks the data before computing the correlation, making it less sensitive to outliers and applicable to ordinal scales. Partial correlation removes the influence of one or more third variables, allowing researchers to examine the association between two variables while controlling for potential confounders.
When to use it
Use correlation analysis when you want to explore the strength and direction of the relationship between two variables. It is appropriate in preliminary data exploration, instrument validation (assessing convergent and discriminant validity), epidemiological risk factor identification, and any research context where understanding associations precedes more complex modeling. Correlation is a starting point; when the goal is to predict one variable from another or to adjust for confounders, regression analysis is typically more appropriate.
Key takeaways
- Correlation is one of the most commonly reported statistics in research because it answers a basic and important question: do two variables move together? In clinical research, correlations help identify risk factors, validate measurement instruments, and explore dose response relationships.
- The formula produces a value between negative 1 and positive 1.
- Use correlation analysis when you want to explore the strength and direction of the relationship between two variables.
- The most important caution is inferring causation from correlation.
Common mistakes
The most important caution is inferring causation from correlation. Two variables may be highly correlated because of a shared underlying cause without either one causing the other. Another common mistake is interpreting a nonsignificant correlation as evidence that no relationship exists; it may simply mean that the sample was too small to detect the association, or that the relationship is nonlinear. Restricting the range of one or both variables (for example, studying the correlation between test scores and GPA only among high performing students) attenuates the observed correlation. Outliers can dramatically inflate or deflate the correlation coefficient, so researchers should examine scatterplots before interpreting correlation statistics. Finally, aggregating data across groups (ecological correlations) can produce misleading associations that do not hold at the individual level.
Example
A health psychologist examines the relationship between daily physical activity (measured in minutes by accelerometer) and self reported mood (measured on a 0 to 100 visual analog scale) in 300 office workers over four weeks. Using one pair of four week averages per worker, so that each person counts once, the Pearson correlation between average daily activity and average mood is r = 0.41 (p less than 0.001), indicating a moderate positive association: workers who were more active tended to report higher mood. The researcher notes that this correlation does not establish that exercise causes mood improvement; it is possible that people who feel better are more likely to be physically active (reverse causality) or that a third variable such as sleep quality influences both.
Sources
- [1]Field A. Discovering Statistics Using IBM SPSS Statistics. 6th ed. SAGE Publications, 2024.
- [2]Lash TL, VanderWeele TJ, Haneuse S, Rothman KJ. Modern Epidemiology. 4th ed. Wolters Kluwer, 2021.
- [3]Bland JM, Altman DG. Calculating correlation coefficients with repeated observations: Part 2, correlation between subjects. BMJ. 1995;310(6980):633.
- [4]Schober P, Boer C, Schwarte LA. Correlation coefficients: appropriate use and interpretation. Anesth Analg. 2018;126(5):1763-1768.
Cite this term
Correlation. Paperguide Research Glossary. Paperguide, 2026. Available at: https://paperguide.ai/research-glossary/correlation/(Paperguide, 2026)