Correlation Coefficient (Pearson r)
The correlation coefficient r is a unit-free measure of the strength and direction of the linear relationship between two continuous variables, from −1 to +1. In a Lean Six Sigma project, r screens candidate Xs against the Y before regression. A strong r shows association only: correlation does not prove that X causes Y.
Quick facts
- Type
- Measure of linear association between two continuous variables
- Formula
- r = Sxy / √(Sxx × Syy)
- Range
- −1 to +1; the sign gives the direction, |r| the strength
- Significance test
- t = r√(n − 2) / √(1 − r²), with n − 2 degrees of freedom
- Origin
- Galton (1888) and Karl Pearson (1896)
- Reference
- IASSC™ Green Belt Body of Knowledge §4.1.1
- Exam relevance
- Green Belt (Improve phase)
What is the correlation coefficient and when is it used in DMAIC?
The correlation coefficient r summarizes how closely pairs of values (X, Y) follow a straight line. It runs from −1 (a perfect falling line) through 0 (no linear pattern) to +1 (a perfect rising line).
In a Lean Six Sigma project, correlation sits between root-cause work and modeling:
- In Analyze, it helps screen candidate Xs from the fishbone or the X-Y matrix: which ones move with the Y at all?
- In Improve, it is the first step toward a regression equation that predicts the Y from the Xs and sets operating targets.
The IASSC™ Green Belt Body of Knowledge places correlation at §4.1.1, at the start of the Improve phase; the ASQ® CSSGB Body of Knowledge places it in Analyze (part IV). The tool is the same in both.
Always draw the scatter plot first. The plot shows curves, clusters and outliers that a single number hides, and r is only meaningful when the cloud of points is roughly linear.
The correlation coefficient is a quick, unit-free screen for linear association between two continuous variables, read together with its scatter plot.
How do you calculate the correlation coefficient r?
Compute the sums of squares and cross-products around the means, then combine them:
Sxx = Σ(x − x̄)²,Syy = Σ(y − ȳ)²,Sxy = Σ(x − x̄)(y − ȳ)r = Sxy / √(Sxx × Syy)- Equivalent form:
r = cov(X, Y) / (sₓ × s_y), with the covariance and both standard deviations on n − 1
Worked example. Northgate Insurance records the number of documents in six claims (X) and the handling time in hours (Y): X = 1, 3, 4, 6, 7, 9 and Y = 3, 4, 8, 7, 10, 10.
| Quantity | Calculation | Result |
|---|---|---|
| Means | x̄ = 30 / 6; ȳ = 42 / 6 | 5.0; 7.0 |
| Sxx | 16 + 4 + 1 + 1 + 4 + 16 | 42 |
| Syy | 16 + 9 + 1 + 0 + 9 + 9 | 44 |
| Sxy | 16 + 6 − 1 + 0 + 6 + 12 | 39 |
| r | 39 / √(42 × 44) = 39 / 42.99 | 0.91 |
| r² | 0.907² | 0.82 |
Values are rounded half-up to two decimals at the end. The covariance form gives the same answer: cov = 39 / 5 = 7.8, sₓ = 2.90, s_y = 2.97, and 7.8 / (2.90 × 2.97) = 0.91.
Both forms of the correlation coefficient must use the same divisor: mixing a covariance on n with standard deviations on n − 1 shrinks r.
How do you interpret r and r²?
Read the sign and the size separately:
- Sign: positive r means Y tends to rise with X; negative r means Y tends to fall. The sign is the sign of the regression slope.
- Size: |r| close to 1 means the points lie close to a line. r = −0.9 is a stronger relationship than r = +0.5. As a loose rule of thumb, many practitioners call |r| above about 0.8 strong and below about 0.3 weak, but the bands vary between texts and the useful threshold depends on the process and the sample size.
- r²: the share of the variation in Y that a straight line in X accounts for. In the claims example, r² = 0.82, so the number of documents accounts for about 82% of the variation in handling time. In simple linear regression, r² equals R², and r = ±√R² with the sign of the slope.
- Units: r has none. Converting hours to minutes, or kilometers to miles, leaves r unchanged; the slope would change.
r measures how tightly the points follow a line, not how steep the line is. A shallow slope can have r = 0.99 and a steep one r = 0.4.
The correlation coefficient tells you direction and tightness; the regression slope tells you how much Y changes per unit of X.
How do you test whether a correlation is significant?
A sample r can differ from zero by chance, especially with few points. The test of H₀: ρ = 0 (no linear correlation in the population) against H₁: ρ ≠ 0 uses:
t = r √(n − 2) / √(1 − r²), withdf = n − 2
Reject H₀ when |t| exceeds the two-tailed critical value t(α/2, n − 2) from the t table, or when the p-value is below α.
Worked example. For the six Northgate claims, with r = 0.907 kept unrounded:
| Step | Calculation | Result |
|---|---|---|
| Degrees of freedom | 6 − 2 | 4 |
| t statistic | 0.907 × √4 / √(1 − 0.823) | 4.31 |
| Critical value | t(0.025, 4) from the table | 2.776 |
| Decision | 4.31 > 2.776 | Reject H₀ at α = 0.05 |
Two warnings apply. With large samples, a weak correlation such as r = 0.2 can be statistically significant while explaining only 4% of the variation in Y. With small samples, a large r can still fail the test. Report r, r² and the p-value together.
A significant correlation coefficient shows that a linear association is unlikely to be chance; whether it matters is a separate question.
Why does correlation not prove causation?
A strong r says X and Y move together. It does not say why. Four other explanations must be ruled out:
- A lurking variable drives both. At Harbourside Council, the number of staff on the complaints desk correlates positively with overdue complaints, because seasonal volume raises both.
- Reverse causation. Y may drive X: wards with more incidents receive more staff, not the other way round.
- Chance, especially when many Xs are screened at once.
- Mixed groups. Two sites with different averages can create a correlation that exists within neither site.
Lean Six Sigma closes the gap between association and cause with process knowledge (a plausible mechanism), verification of root causes in Analyze, and, in Improve, a controlled change: a designed experiment or a pilot in which the team moves X and watches Y respond.
Correlation is evidence worth following up, and the follow-up is what turns a correlated X into a verified cause.
What are the common mistakes with correlation?
Correlation is popular because it reduces a scatter plot to one comparable number and needs no model. The common mistakes come from forgetting what that number leaves out:
- Missing a curve. r measures only linear association. A U-shaped relationship, such as picking errors that rise at both low and high temperatures, can give r close to 0. The fix is a model with a squared term, not dropping the X.
- Letting one outlier decide. A single extreme point can create or destroy a strong r. Check it against the plot and the data record.
- Restricted range. Sampling only a narrow band of X understates the relationship that exists across the full range.
- Confusing r, r² and the slope. r = 0.8 means r² = 0.64, not "80% explained"; and r is not the change in Y per unit of X.
- Treating significance as strength. A tiny p-value with r = 0.2 is still a weak relationship.
The correlation coefficient is reliable when it is read with its scatter plot, its sample size and a plausible mechanism.
Correlation vs. simple linear regression: what is the difference?
| Correlation (r) | Simple linear regression | |
|---|---|---|
| Question answered | How strongly do X and Y move together along a line? | How much does Y change per unit of X, and what is Y at a given X? |
| Output | One number from −1 to +1 | An equation Ŷ = b₀ + b₁X, with R², S and p-values |
| Roles of the variables | Symmetric: r(X, Y) = r(Y, X) | Asymmetric: Y is the response, X the predictor |
| Units | Unit-free | The slope is in units of Y per unit of X |
| Link | r² equals R² of the simple regression | The slope has the sign of r |
Correlation measures the strength of a linear association; regression describes it as an equation that can predict. Teams usually compute r to screen Xs and then fit a regression for the ones that matter.
Exam focus
Correlation is IASSC™ section 4.1.1, in Green Belt scope only. Expect to compute r from sums of squares or from a covariance and two standard deviations, to recover r from R² and the slope's sign, and to run the t test with n − 2 degrees of freedom. Interpretation items test unit-free r, curved relationships with r near 0 and, above all, correlation versus causation. A classic trap is reading r² as r. Practise in the Improve phase drill.
Practise this DMAIC phase →FAQ
What does a correlation coefficient of 0.8 mean?
An r of 0.8 means a fairly strong positive linear relationship: Y tends to rise as X rises, and the points lie close to a line. Squared, it gives r² = 0.64, so a straight line in X accounts for about 64% of the variation in Y. It does not mean that X causes Y.
How do you get r from R² in regression?
In simple linear regression with one predictor, take the square root of R² and give it the sign of the slope. An R² of 0.64 with a negative slope gives r = −0.80. This works only with one X; in multiple regression, the square root of R² is the multiple correlation and has no sign.
Can the correlation be zero when there is a strong relationship?
Yes. r measures only linear association, so a symmetric curve, such as a U shape or an inverted U, can give r close to zero even when Y depends strongly on X. That is why the scatter plot comes first, and why a quadratic term may be needed in the model.
Is a negative correlation weaker than a positive one?
No. The sign gives the direction and the absolute value gives the strength. r = −0.9 describes a stronger linear relationship than r = +0.5, because the points lie closer to a straight line; the line simply falls instead of rising.
How many data points do you need for a correlation?
There is no fixed minimum, but small samples give unstable r values and wide uncertainty: with six points, r must exceed about 0.81 to be significant at α = 0.05. Many practitioners aim for 25 to 30 pairs or more, a habit rather than a statistical rule, and always check the scatter plot.
Sources
- Pearson, K. (1896). Mathematical Contributions to the Theory of Evolution. III. Regression, Heredity, and Panmixia. Philosophical Transactions of the Royal Society of London, Series A, 187, 253–318.
- Galton, F. (1888). Co-relations and their Measurement, Chiefly from Anthropometric Data. Proceedings of the Royal Society of London, 45, 135–145.
- Montgomery, D. C., Peck, E. A., & Vining, G. G. (2021). Introduction to Linear Regression Analysis (6th ed.). Wiley.
- IASSC™ (n.d.). Lean Six Sigma Green Belt Body of Knowledge, §4.1.1.
- Last reviewed