Correlation
Reviewed bySatya R Panigrahi
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.[4] Correlation coefficients range from negative 1 (perfect inverse relationship) to positive 1 (perfect direct relationship), with zero indicating no linear relationship.[4] The most widely used measure is the Pearson product moment correlation coefficient, which captures linear associations between continuous variables.[4] Spearman's rank correlation and Kendall's tau are used for ordinal data or when the relationship is monotonic but not necessarily linear.
Explore the concept
One number for a cloud of dots
Read what r = 0.41 says about activity and mood, then stress the cloud with an outlier, a narrow range, a curve and office averages to watch the dial swing, and see why the same r fits several causal stories.
Correlation coefficient
r = 0.41
From 300 workers
Shared variation
r² = 17%
of the variation in mood lines up with activity
Test of no correlation
p < 0.001
Unlikely if the true r were 0
Positive and moderate
The big idea: A correlation coefficient r runs from −1 to +1 and measures the direction and strength of a straight-line association between two variables. Outliers, a restricted range, curved patterns and group averages can distort it, and a correlation alone cannot show which variable, if either, causes the other.
The study is the article's example: 300 office workers, four-week averages of accelerometer activity and mood (0 to 100 scale), Pearson r = 0.41, p < 0.001. The individual dots are illustrative, generated so their Pearson r is exactly 0.41 (activity mean 45, SD 14 minutes; mood mean 60, SD 13). r² = 0.41² = 0.168, shown as 17%. p from the t test of r = 0: t = 7.76 with 298 df (p < 0.001) and t = 1.91 with 18 df (p = 0.07) for an illustrative sample of 20 with the same r. The extreme worker (110 minutes, mood 6), the most active third (100 workers from 51.7 minutes), the curved pattern and the 12 offices of 25 are illustrative; every r on the dial is computed from the plotted points (0.32, 0.28, 0.00 and 0.89).
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.[4] 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.[4] The coefficient of determination (r squared) indicates the proportion of variance in one variable that is explained by the other.[4] 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.[4] 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.[4]
- 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.[4] Outliers can dramatically inflate or deflate the correlation coefficient, so researchers should examine scatterplots before interpreting correlation statistics.[4]
- 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.
Test your understanding
5 questions that adapt as you go: answer two in a row correctly and they get harder.
Question 1 of 5
Scenario:
The same study found r = 0.41 between average daily activity and average mood in 300 office workers.
Question:
About what proportion of the variance in average mood is linearly accounted for by average activity?
Hardness: Interpret
Sources
- [1]Field A. Discovering Statistics Using IBM SPSS Statistics. 6th ed. SAGE Publications, 2024. ISBN 9781529630008
- [2]Lash TL, VanderWeele TJ, Haneuse S, Rothman KJ. Modern Epidemiology. 4th ed. Wolters Kluwer, 2021. ISBN 9781451193282
- [3]Bland JM, Altman DG. Calculating correlation coefficients with repeated observations: Part 2, correlation between subjects. BMJ. 1995;310(6980):633. doi:10.1136/bmj.310.6980.633
- [4]Schober P, Boer C, Schwarte LA. Correlation coefficients: appropriate use and interpretation. Anesth Analg. 2018;126(5):1763-1768. doi:10.1213/ANE.0000000000002864
Cite this term
Paperguide. (2026, October 14). Correlation. In Paperguide Research Glossary. https://paperguide.ai/research-glossary/correlation/(Paperguide, 2026)