Scatter Plots and Correlation
Create scatterplots and calculate the correlation coefficient r to describe linear relationships.
Try the Interactive Version!
Learn step-by-step with practice exercises built right in.
Scatterplots and Correlation
Scatterplots
Structure:
- x-axis: explanatory (independent) variable
- y-axis: response (dependent) variable
- Each point: one observation with both x and y values
- Use: explore relationship between two quantitative variables
Reading a scatterplot:
- Trend: do points generally move up or down?
- Strength: how tightly clustered around trend?
- Form: is pattern linear, curved, or no pattern?
- Outliers: any isolated points?
Describing Relationships: Direction, Form, Strength
Direction:
- Positive association: as x increases, y tends to increase
- Negative association: as x increases, y tends to decrease
- No association: no discernible trend
Form:
- Linear: points cluster around straight line
- Curved: points follow curved pattern
- No pattern: points scattered randomly
Strength:
- Strong: points tightly clustered
- Moderate: visible trend with some scatter
- Weak: scatter with little visible trend
The Correlation Coefficient (\(r\))
Formula:
Properties:
- Range: −1 ≤ r ≤ 1
- r = 1: perfect positive linear relationship
- r = −1: perfect negative linear relationship
- r = 0: no linear relationship
- r > 0: positive association
- r < 0: negative association
- Unitless: r doesn't depend on units (inches vs. cm give same r)
- Symmetric: r(x, y) = r(y, x)
Interpretation of |r|:
- |r| ≥ 0.9: very strong
- 0.7 ≤ |r| < 0.9: strong
- 0.5 ≤ |r| < 0.7: moderate
- 0.3 ≤ |r| < 0.5: weak
- |r| < 0.3: very weak/negligible
Limitations of \(r\)
-
Measures linear association only
- Two variables may have strong curved relationship but r ≈ 0
- Always plot scatterplot; don't rely on r alone
-
Sensitive to outliers
- One extreme point can dramatically change r
- Example: With outlier, r might change from 0.2 to 0.8
-
r only quantifies strength, not causation
- Strong r doesn't prove x causes y
- Confounding variables often explain relationship
-
Restricted range reduces r
- If data shows only part of potential relationship, r is weaker
Correlation ≠ Causation
Example: Ice cream sales and drowning deaths
- Both increase in summer
- Strong positive correlation (r ≈ 0.9)
- But neither causes the other; temperature is confounding variable
Possible explanations for correlation:
- Causation: x causes y (rare without experiment)
- Reverse causation: y causes x
- Confounding variable: third variable causes both x and y
- Coincidence: random correlation in unrelated variables
Rule: Correlation suggests association; prove causation with randomized experiment, not observational data.
Worked Example
Data: 6 students, hours studied (x) vs. exam score (y)
| Hours | Score |
|---|---|
| 2 | 65 |
| 3 | 78 |
| 4 | 82 |
| 5 | 88 |
| 6 | 90 |
| 8 | 95 |
- \(\bar{x} = 4.67, s_x ≈ 1.97\)
- \(\bar{y} = 83, s_y ≈ 10.05\)
- \(r ≈ 0.97\) (very strong positive linear relationship)
Interpretation: Strong positive correlation suggests more study hours associated with higher scores.
Common Mistakes
- Assuming r = 0.4 means no relationship: relationship exists; it's just weak
- Claiming causation from strong r: r alone doesn't prove causation
- Ignoring scatterplot: r = 0.5 could be weak linear + curved pattern (plot it!)
- Confusing r and slope: different concepts; strong r doesn't mean steep slope
AP Exam Tip
When asked about relationship:
- Describe scatterplot: direction, form, strength, outliers
- Calculate r: state value (e.g., r ≈ 0.82)
- Interpret r: "Strong positive linear correlation"
- Caveat: "Correlation does not imply causation. A confounding variable such as _____ may explain the relationship."
Example: "There is a strong positive correlation (r ≈ 0.85) between hours studied and exam score. Students who study more tend to score higher. However, this does not prove studying causes higher scores; student motivation might influence both variables."
📚 Practice Problems
1Problem 1easy
❓ Question:
A scatterplot shows study hours (x-axis) vs. exam scores (y-axis) for 25 students. The points show a clear upward trend from lower-left to upper-right, tightly clustered around a line. Describe the relationship.
💡 Show Solution
This scatterplot shows a strong positive linear correlation:
- Positive: As study hours increase, exam scores tend to increase (upward trend)
- Strong: The points are tightly clustered around a line with little scatter
- Linear: The relationship is approximately straight, not curved
The correlation coefficient would be close to +1 (e.g., ), indicating a strong positive association. Students who study more score higher; the pattern is predictable.
2Problem 2medium
❓ Question:
Two variables have correlation . Interpret what this means about their relationship.
💡 Show Solution
Interpretation of :
Correlation direction: Negative () — as one variable increases, the other tends to decrease.
Correlation strength: Moderate to strong (absolute value 0.65 is closer to −1 than to 0).
Visual pattern: Scatterplot would show points trending downward (from upper-left to lower-right) with moderate scatter — not perfectly linear, but a clear downward tendency.
Example: Temperature (x) vs. heating costs (y) might show . As temperature rises, heating costs fall. The relationship is clear but not perfect (other factors like insulation affect costs).
Important: describes association, not causation. The two variables move together, but one doesn't necessarily cause the other.
3Problem 3hard
❓ Question:
Two scatterplots are shown: Plot A has with points close to a line, but there are three extreme points far from the line at the upper-right corner. Plot B has with all points evenly scattered. Explain the correlation coefficient difference and discuss which might be a better summary.
💡 Show Solution
What the correlations show:
Both indicate strong positive linear relationships (both r > 0.8). But they tell different stories.
Plot A (r = 0.92):
- Three influential outliers at upper-right dramatically increase the correlation
- Without those points, r might drop to ~0.75–0.80
- The correlation is inflated by outliers
- These extreme points could be data errors, special cases, or true but unusual observations
Plot B (r = 0.85):
- More consistent relationship across all data
- No outliers distorting the picture
- More representative of the general trend
- Prediction (using regression line) would be more reliable
Which is a better summary?
Neither r alone is sufficient. Always examine the scatterplot visually:
- In Plot A, report both the correlation AND note the outliers: "r = 0.92, but three upper-right outliers drive this; without them, r ≈ 0.78"
- In Plot B, r = 0.85 is reliable because it's not overly influenced by extreme points
Lesson: Correlation is vulnerable to outliers. Always make and examine scatterplots; don't rely on r alone. Correlation ≠ causation anyway.
⚠️ Common Mistakes: Scatter Plots and Correlation
Avoid these 3 frequent errors
Practice with Flashcards
Rate this topic's cards with spaced repetition. Cards join your deck when you finish a topic's lesson and take its exit quiz.
Browse All Topics
Explore more AP Statistics topics