7.1 The Correlation Coefficient, Its Confidence Interval, and Causation
Key Takeaways
The Pearson correlation coefficient measures the strength and direction of a linear relationship and ranges from -1 to +1.
The coefficient of determination r squared is the proportion of variation in Y explained by the linear relationship with X.
A correlation coefficient near zero rules out a linear relationship but not a curved one, so always plot the data.
Confidence intervals for rho are built using Fisher's z transformation, because the sampling distribution of r is skewed unless rho is zero.
Correlation supports causation only after confounding, reverse causation, and selection effects have been excluded; designed experiments do this by randomization.
The Pearson correlation coefficient
measures the strength and direction of the linear association between two continuous variables and is bounded by . It is dimensionless and unaffected by linear rescaling, so converting millimetres to inches changes nothing.
| Conventional description | |
|---|---|
| 0.00 - 0.30 | Negligible to weak |
| 0.30 - 0.50 | Moderate |
| 0.50 - 0.70 | Moderately strong |
| 0.70 - 0.90 | Strong |
| 0.90 - 1.00 | Very strong |
These bands are conventions, not thresholds. In a designed experiment on a machined dimension, may be disappointing; in a study of human behaviour, may be a major finding.
The coefficient of determination
This is the interpretation that matters practically. sounds impressive until you square it: , so 51% of the variation remains unexplained. Reporting alone systematically overstates how much of the problem a factor accounts for, which is why the Analyze phase should prioritize factors by , not by .
Worked example
Six paired observations of oven temperature (, degrees C) and tensile strength (, MPa):
| 180 | 185 | 190 | 195 | 200 | 205 | |
|---|---|---|---|---|---|---|
| 412 | 418 | 431 | 435 | 447 | 452 |
, . Computing the sums of squares gives , , and . Then:
, so 98.4% of the variation in tensile strength over this temperature range is explained by the linear relationship. Note the qualifier over this range -- nothing here supports extrapolation to 250 C.
Testing and estimating
Testing whether rho differs from zero
Reject when exceeds the critical value. For the example above, with 4 degrees of freedom, which is overwhelmingly significant.
Confidence interval via Fisher's z transformation
The sampling distribution of is skewed whenever , because is bounded at . Fisher's transformation removes the skew:
Build the interval on the scale, for 95% confidence, then transform each endpoint back:
Two practical points. The interval is asymmetric around on the original scale, and it requires . With small samples it is remarkably wide -- with and , the 95% interval runs roughly from -0.04 to 0.89, which is not evidence of a strong relationship.
Assumptions and what breaks them
| Assumption | Violation | Consequence |
|---|---|---|
| Linearity | Curved relationship | near zero despite a strong relationship |
| Continuous, roughly bivariate normal data | Heavy skew, ordinal data | Use Spearman rank correlation instead |
| Independent observations | Time-ordered or clustered data | Standard errors wrong; significance overstated |
| No influential outliers | One extreme point | can be created or destroyed by a single observation |
| Adequate range of | Restricted range | attenuated toward zero |
Always plot the data before reading . Anscombe's quartet -- four data sets with identical correlation, means, and regression lines but radically different shapes -- exists precisely to make this point. A scatter plot takes seconds and prevents the two most common failures: a curved relationship reported as no relationship, and a single outlier reported as a strong relationship.
Restricted range deserves special attention in Six Sigma work, because it is built into the way we collect data. If a process is tightly controlled between 199 and 201 C, a study of temperature versus strength within that band will show little correlation even if temperature is a dominant factor across a wider range. The absence of correlation in observational process data is weak evidence that a factor does not matter; a designed experiment that deliberately widens the range is the correct test.
Correlation and causation
An observed correlation is consistent with several explanations, only one of which is direct causation:
- X causes Y -- the conclusion usually wanted.
- Y causes X -- reverse causation.
- A third variable Z causes both -- confounding.
- Selection effect -- the sampling procedure created the association.
- Coincidence -- with enough variables examined, spurious correlations appear.
The last is worth quantifying: testing 20 unrelated factor pairs at produces on average one significant result by chance alone. Data-mining a wide process data set for correlations without adjusting for multiplicity reliably generates false leads.
Establishing causation
| Evidence | Strength |
|---|---|
| Correlation in observational data | Weak; generates hypotheses |
| Correlation plus a plausible physical mechanism | Moderate |
| Correlation plus temporal precedence and dose-response | Moderate to strong |
| Controlled experiment with randomization | Strong |
| Controlled experiment, replicated, with confirmed mechanism | Conclusive for practical purposes |
Randomization in a designed experiment is what neutralizes unknown confounders, which is why the Improve phase of DMAIC is built around DOE rather than around further observational analysis. A correlation found in the Analyze phase is a hypothesis to be tested, not a root cause to be acted on.
A study reports a correlation of r = 0.60 between line speed and defect rate. What proportion of the variation in defect rate is explained by line speed?
60%
77%
30%
36%
A scatter plot shows a clear inverted-U relationship between cure temperature and bond strength, yet the Pearson correlation coefficient is 0.02. What is the correct interpretation?
The Pearson coefficient measures only linear association, so a strong curved relationship can produce r near zero
There is no relationship between the variables
The measurement system must be inadequate
The sample size is too small for the correlation to be significant
A process is tightly controlled between 199 and 201 degrees C. An observational study within that range finds no correlation between temperature and strength. What can be concluded?
Temperature does not affect strength and can be eliminated from the analysis
Little can be concluded, because restricted range attenuates correlation; a designed experiment that widens the range is the correct test
The correlation coefficient should be recalculated using Spearman's method
Strength must be non-normally distributed
Sections you finish are checked off in the contents.