Correlation Coefficient
Learn how to measure the strength and direction of a linear relationship between two variables using the correlation coefficient r.
Definition
- is always between and :
- : Perfect positive correlation
- : Perfect negative correlation
- : No linear correlation
| Value of $ | r | Strength | |
|---|---|---|---|
| Very weak | |||
| Weak | |||
| Moderate | |||
| Strong | |||
| Very strong |
Try it now
Worked Examples
Find the correlation coefficient for the data:
Find the means and
, → ,
Calculate deviations and
Point : Point : Point : Point : Point : → Deviations calculated
Calculate products
Sum →
Calculate
→
Calculate
→
Apply the formula
→
Answer: (strong positive correlation)
Common Mistakes
Assuming correlation implies causation
Why it's wrong: A strong correlation between and doesn't mean causes . There could be a third variable affecting both, or the relationship could be coincidental.
Correct: Always say "associated with" or "correlated with" rather than "causes." Look for experimental evidence to establish causation.
Ignoring outliers when interpreting
Why it's wrong: A single outlier can dramatically change the correlation coefficient. is sensitive to extreme values.
Correct: Always plot the data first. Look for outliers and consider calculating with and without them.
Using for non-linear relationships
Why it's wrong: only measures linear relationships. A perfect curved pattern could have .
Correct: Examine the scatter plot. If the pattern is curved, is not the right measure. Consider transformations or non-linear models.
Interactive Visual
Linear Function Explorer
Bar Chart
Interactive Sandbox
Expression Calculator
Try these:
History
No calculations yet
Practice Problems
16 problemsWhat does a correlation coefficient of indicate?
Why It Matters
- Science: Researchers measure how strongly variables like temperature and ice cream sales relate
- Finance: Analysts track how stock prices move together (portfolio diversification)
- Medicine: Doctors study relationships between risk factors and health outcomes
- Sports: Coaches analyze which statistics best predict team success
- Quantify relationships that "look" linear in scatter plots
- Make predictions using regression analysis
- Evaluate the reliability of statistical models
- Communicate findings precisely ("strong positive correlation" vs "weak negative correlation")
Real World Applications
Stock Market Diversification
Investment analysts use correlation to build diversified portfolios. Stocks with low or negative correlation balance risk.
Example:
If Stock A and Stock B have , when A drops, B tends to rise slightly, reducing portfolio volatility.
Two tech stocks have . Two stocks from different sectors have .
Which pair provides better diversification?
Step 1: Write the mathematical expression
Compare: vs
Medical Research
Researchers use correlation to identify potential risk factors for diseases.
Example:
A study finds between blood pressure and risk of heart disease, indicating a strong positive relationship.
Three health factors show correlations with diabetes risk: Exercise (), Sugar intake (), Sleep quality ().
Which factor has the strongest relationship with diabetes risk?
Step 1: Write the mathematical expression
Compare absolute values: , ,
Key Takeaways
- 1The correlation coefficient measures the strength and direction of a linear relationship
- 2 ranges from (perfect negative) to (perfect positive), with indicating no linear relationship
- 3The absolute value indicates strength: closer to is stronger, closer to is weaker
- 4Always visualize data with a scatter plot before interpreting
- 5Correlation does not imply causation - association is not the same as cause-and-effect
Frequently Asked Questions
Glossary
- Correlation coefficient ()
- A numerical measure from to that quantifies the strength and direction of a linear relationship between two variables
- Positive correlation
- When : as one variable increases, the other tends to increase
- Negative correlation
- When : as one variable increases, the other tends to decrease
- Pearson correlation
- The most common type of correlation coefficient, measuring linear relationships (also called Pearson's )
- Scatter plot
- A graph showing points for paired data, used to visualize relationships between variables
Formula Card
Correlation Coefficient Formula
Alternative form: $r = \frac{n\sum xy - (\sum x)(\sum y)}{\sqrt{[n\sum x^2 - (\sum x)^2][n\sum y^2 - (\sum y)^2]}}$