Introduction to Correlation

Learn how to identify and interpret relationships between two variables using correlation.

Intermediate25 minLesson

Definition

Correlation describes the relationship between two variables. When one variable changes, correlation tells us if the other variable tends to change as well, and in what direction.
There are three main types of correlation:
  • Positive correlation: As one variable increases, the other also increases
  • Negative correlation: As one variable increases, the other decreases
  • No correlation: There is no clear pattern between the variables
We measure the strength of correlation using the correlation coefficient (rr), which ranges from −1-1 to 11:
−1≤r≤1-1 \leq r \leq 1
Value of rrInterpretation
r=1r = 1Perfect positive correlation
r=0.7r = 0.7 to 0.90.9Strong positive correlation
r=0.4r = 0.4 to 0.60.6Moderate positive correlation
r=0r = 0No correlation
r=−0.7r = -0.7 to −0.9-0.9Strong negative correlation
r=−1r = -1Perfect negative correlation

Try it now

When both variables increase together, this is called:

Worked Examples

A teacher records the hours students study and their test scores: | Hours Studied | Test Score | |---------------|------------| | 1 | 55 | | 2 | 62 | | 3 | 70 | | 4 | 75 | | 5 | 85 | What type of correlation exists?

1

Look at the pattern

As hours increase: 1 → 2 → 3 → 4 → 5 Scores also increase: 55 → 62 → 70 → 75 → 85 → Both variables increase together

2

Identify the direction

When X goes up, Y goes up This is an upward trend → Positive direction

3

Determine the type

Both variables move in the same direction More studying → higher scores → Positive correlation

Common Mistakes

Assuming correlation means causation

Why it's wrong: Just because two variables are correlated doesn't mean one causes the other. There could be a third variable affecting both, or the relationship could be coincidental.

Correct: Always ask: Is there a logical reason why one would cause the other? Could a third variable explain both?

Thinking negative correlation means bad or weak

Why it's wrong: Negative correlation simply means the variables move in opposite directions. A correlation of r=−0.95r = -0.95 is very strong!

Correct: The sign (+ or -) indicates direction. The magnitude (how close to 1 or -1) indicates strength.

Expecting perfect correlation in real data

Why it's wrong: Real-world data almost never shows perfect correlation (r=1r = 1 or r=−1r = -1). Natural variation always exists.

Correct: In practice, correlations of 0.70.7 or higher are considered strong. Don't expect perfection!

Ignoring outliers when assessing correlation

Why it's wrong: A single outlier can dramatically change the correlation coefficient and mislead your analysis.

Correct: Always visualize your data with a scatter plot before calculating correlation. Look for outliers that might distort the result.

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

15 problems
Problem 1 of 15
Easy

When both variables increase together, this is called:

Why It Matters

Correlation helps us understand connections in the world around us:
  • Health: Doctors study the correlation between exercise and heart health
  • Education: Researchers examine the correlation between study time and test scores
  • Economics: Analysts track the correlation between unemployment and consumer spending
  • Weather: Meteorologists look at correlations between temperature and energy usage
  • Sports: Coaches analyze the correlation between practice hours and performance
Understanding correlation helps us make predictions and informed decisions. However, remember: correlation does not mean causation! Just because two things are related doesn't mean one causes the other.

Real World Applications

Medical Research

Doctors use correlation to study relationships between lifestyle factors and health outcomes.

Example:

Researchers found a negative correlation (r=−0.65r = -0.65) between hours of exercise per week and resting heart rate. More exercise is associated with a lower resting heart rate.

1Try It Yourself

A study shows correlation between coffee consumption and anxiety levels is r=0.48r = 0.48.

How would you describe this relationship?

Step 1: Write the mathematical expression

Interpret the correlation coefficient r=0.48r = 0.48

Education and Testing

Schools analyze correlations between different factors and student achievement.

Example:

A school district found a correlation of r=0.73r = 0.73 between attendance rate and final grades. Students who attend more classes tend to earn higher grades.

2Try It Yourself

The correlation between sleep hours and test performance is r=0.62r = 0.62.

What can we conclude?

Step 1: Write the mathematical expression

Analyze the relationship between sleep and test scores

Economics and Finance

Economists study correlations between economic indicators to understand market behavior.

Example:

There's often a negative correlation between unemployment rates and consumer confidence. When unemployment rises, consumer confidence tends to fall.

3Try It Yourself

The correlation between inflation and purchasing power is r=−0.88r = -0.88.

Describe what happens to purchasing power as inflation increases.

Step 1: Write the mathematical expression

Interpret the negative correlation

Key Takeaways

  • 1Correlation measures the relationship between two variables
  • 2Positive correlation: both variables increase together (upward trend)
  • 3Negative correlation: one variable increases while the other decreases (downward trend)
  • 4No correlation: no clear pattern between variables
  • 5The correlation coefficient rr ranges from −1-1 to 11
  • 6The closer ∣r∣|r| is to 11, the stronger the correlation
  • 7Correlation does NOT imply causation

Frequently Asked Questions

Correlation means two variables are related - they tend to change together. Causation means one variable directly causes the other to change. Correlation can exist without causation. For example, ice cream sales and drowning rates are correlated (both increase in summer), but ice cream doesn't cause drowning - hot weather is the common cause.
Correlation means two variables are related - they tend to change together. Causation means one variable directly causes the other to change. Correlation can exist without causation. For example, ice cream sales and drowning rates are correlated (both increase in summer), but ice cream doesn't cause drowning - hot weather is the common cause.
No. The correlation coefficient rr is always between −1-1 and 11, inclusive. If your calculation gives a value outside this range, there's an error somewhere.
A correlation of 00 means there is no linear relationship between the variables. Knowing the value of one variable tells you nothing about the other. However, there could still be a non-linear relationship (like a U-shape or curve).
Not at all! Negative correlation simply means the variables move in opposite directions. It can be very useful. For example, a negative correlation between study time and errors made is good news - more studying leads to fewer errors!

Glossary

Correlation
A statistical measure of how two variables are related to each other
Correlation coefficient (r)
A number between −1-1 and 11 that measures the strength and direction of a linear relationship
Positive correlation
A relationship where both variables increase or decrease together
Negative correlation
A relationship where one variable increases as the other decreases
Scatter plot
A graph that shows the relationship between two variables using dots
Causation
When one variable directly causes a change in another variable
Spurious correlation
A correlation that exists due to coincidence or a hidden third variable, not a real relationship

More in This Topic