Correlation Coefficient

Learn how to measure the strength and direction of a linear relationship between two variables using the correlation coefficient r.

Advanced25 minLesson

Definition

The correlation coefficient (denoted ) measures the strength and direction of a linear relationship between two variables.
**Key properties of :**
  • is always between and :
  • : Perfect positive correlation
  • : Perfect negative correlation
  • : No linear correlation
**Interpreting :**
Value of $rStrength
Very weak
Weak
Moderate
Strong
Very strong

Try it now

What does a correlation coefficient of indicate?

Worked Examples

Find the correlation coefficient for the data:

1

Find the means and

, ,

2

Calculate deviations and

Point : Point : Point : Point : Point : Deviations calculated

3

Calculate products

Sum

4

Calculate

5

Calculate

6

Apply the formula

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

y = x
Slope (m)1
Y-Intercept (b)0
b
run
rise

Bar Chart

Part A(25%)
Part B(35%)
Part C(20%)
Part D(20%)

Interactive Sandbox

Expression Calculator

Try these:

History

No calculations yet

Practice Problems

16 problems
Problem 1 of 16
Easy

What does a correlation coefficient of indicate?

Why It Matters

The correlation coefficient is fundamental in data analysis:
  • 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
Understanding helps you:
  • 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.

1Try It Yourself

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.

2Try It Yourself

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

Correlation shows that two variables move together, but causation means one variable directly causes changes in another. Ice cream sales and drowning rates are correlated (both increase in summer), but ice cream doesn't cause drowning - hot weather affects both.
Correlation shows that two variables move together, but causation means one variable directly causes changes in another. Ice cream sales and drowning rates are correlated (both increase in summer), but ice cream doesn't cause drowning - hot weather affects both.
No. By mathematical definition, is always between and . If you calculate a value outside this range, there's an error in your calculations.
means there is no linear relationship between the variables. However, there could still be a non-linear relationship (like a parabola or sine curve).

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]}}$

More in This Topic