Skip to content

Coefficient of Determination

Interpret r² as the proportion of variability explained by the regression model.

Written and reviewed by the Study Mondo Education TeamLast updated
🎯⭐ INTERACTIVE LESSON

Try the Interactive Version!

Learn step-by-step with practice exercises built right in.

Start Interactive Lesson →

The Coefficient of Determination (\(r^2\))

Definition and Interpretation

Coefficient of determination (\(r^2\)): proportion of variation in response variable y explained by linear relationship with x

Formula: r2=(r)2r^2 = (r)^2

where r = correlation coefficient

Range: 0 ≤ \(r^2\) ≤ 1 (always non-negative)

Interpretation:

  • \(r^2 = 0.81\) means 81% of variation in y explained by linear model; 19% due to other factors
  • \(r^2 = 0.40\) means 40% of variation explained; model captures less than half

Understanding Variation

Total variation in y: measured by sum of squared deviations from mean Variation=∑(yi−yˉ)2\text{Variation} = \sum(y_i - \bar{y})^2

Variation explained by regression: measured by sum of squared deviations of predicted values from mean Explained variation=∑(y^i−yˉ)2\text{Explained variation} = \sum(\hat{y}_i - \bar{y})^2

Variation not explained (residual): Residual variation=∑(yi−y^i)2\text{Residual variation} = \sum(y_i - \hat{y}_i)^2

Decomposition: Total variation=Explained variation+Residual variation\text{Total variation} = \text{Explained variation} + \text{Residual variation}

r2=Explained variationTotal variationr^2 = \frac{\text{Explained variation}}{\text{Total variation}}

Worked Example

Scenario: 5 students, hours studied (x) vs. exam score (y)

HoursScore\(\hat{y}\)\(y - \bar{y}\)\(\hat{y} - \bar{y}\)\(y - \hat{y}\)
15560-15-20-5
26567-5-13-2
372742-6-2
483811372
5908820142

Mean score \(\bar{y} = 73\). Regression line: \(\hat{y} = 53 + 7x\), so \(r ≈ 0.98\)

Total variation: ∑(yi−yˉ)2=(−15)2+(−5)2+22+132+202=225+25+4+169+400=823\sum(y_i - \bar{y})^2 = (-15)^2 + (-5)^2 + 2^2 + 13^2 + 20^2 = 225 + 25 + 4 + 169 + 400 = 823

Explained variation: approximately equal to total variation when \(r\) is near 1.

Simplified calculation: \(r^2 = (0.98)^2 = 0.9604 ≈ 0.96\)

Interpretation: 96% of variation in exam scores is explained by hours studied; 4% due to other factors (test difficulty, student ability, etc.).

Relationship Between \(r\) and \(r^2\)

  • \(r = 0.9 → r^2 = 0.81\) (81% variation explained)
  • \(r = 0.8 → r^2 = 0.64\) (64% variation explained)
  • \(r = 0.7 → r^2 = 0.49\) (49% variation explained)
  • \(r = 0.5 → r^2 = 0.25\) (25% variation explained)

Note: small increase in r causes larger increase in \(r^2\) (quadratic relationship)

Context: When to Report \(r^2\)

Use \(r^2\) when:

  • Describing how well regression model predicts (goodness of fit)
  • Comparing models: larger \(r^2\) → better fit
  • Assessing practical significance: is 42% explained variation enough for our purpose?

Caution: high \(r^2\) doesn't prove causation; still need experimental design

Common Mistakes

  1. Confusing r and \(r^2\): r = correlation (−1 to 1); \(r^2\) = proportion (0 to 1)
  2. Claiming "85% of y equals x": \(r^2 = 0.85\) means "85% of variation in y is explained by x," not "y is 85% determined by x"
  3. Reporting \(r^2\) as percentage but computing as decimal: if \(r^2 = 0.72\), report as 72%, not 0.72%
  4. Ignoring other factors: \(r^2 = 0.60\) means 40% of variation NOT explained; other variables matter

AP Exam Tip

When asked to interpret \(r^2\):

Template: "[r²]% of the variation in [y-variable] is explained by the linear regression model with [x-variable]. The remaining [100−r²]% is due to other factors."

Example response: "\(r^2 = 0.84\) means that 84% of the variation in exam scores can be explained by the linear relationship with hours studied. The remaining 16% of variation is attributable to other factors such as prior knowledge, test difficulty, or sleep quality."

On calculator: \(r^2 = \text{coefficient of determination}\) displayed when you fit linear regression (alongside slope, intercept, r).

📚 Practice Problems

1Problem 1easy

❓ Question:

A regression has correlation r = 0.8. Calculate and interpret R².

💡 Show Solution

Step 1: Calculate R² Formula: R² = r²

R² = (0.8)² = 0.64

Step 2: Express as percentage R² = 0.64 = 64%

Step 3: Interpret "64% of the variability in y is explained by the linear relationship with x."

The remaining 36% is unexplained variation (random error, other factors).

Step 4: Implications R² = 0.64 suggests:

  • Strong relationship (64% explained)
  • Model captures most of pattern
  • Useful for predictions
  • But 36% still unexplained

Answer: R² = 0.64 or 64%. This means 64% of the variation in y is explained by the linear relationship with x.

2Problem 2easy

❓ Question:

Model A has R² = 0.85, Model B has R² = 0.45. Which is better for predictions?

💡 Show Solution

Step 1: Compare R² values Model A: R² = 0.85 = 85% explained Model B: R² = 0.45 = 45% explained

Step 2: Model A interpretation

  • 85% of variation explained
  • Very strong relationship
  • Only 15% unexplained
  • More accurate predictions

Step 3: Model B interpretation

  • 45% of variation explained
  • Moderate relationship
  • 55% unexplained
  • Less accurate predictions

Step 4: Conclusion Model A is BETTER because:

  • More variation explained (85% vs 45%)
  • Smaller residuals on average
  • More reliable predictions
  • Stronger relationship

Answer: Model A is better. It explains 85% of variation versus only 45% for Model B, meaning more accurate predictions.

3Problem 3medium

❓ Question:

A regression has R² = 0.49. What is the correlation r? Can you determine the sign?

💡 Show Solution

Step 1: Calculate |r| R² = r² 0.49 = r² r = ±√0.49 = ±0.7

So |r| = 0.7

Step 2: Determine sign From R² ALONE, cannot determine sign!

Both r = +0.7 and r = -0.7 give R² = 0.49

Step 3: How to find sign Need additional information:

  • Look at slope (same sign as r)
  • Look at scatterplot direction
  • Context (should relationship be positive or negative?)

Step 4: Why R² loses sign R² = r² means squaring eliminates sign: (+0.7)² = 0.49 (-0.7)² = 0.49

Answer: |r| = 0.7, but CANNOT determine sign from R² alone. Need slope sign or scatterplot to determine if r = +0.7 or -0.7.

4Problem 4medium

❓ Question:

Explain why R² must be between 0 and 1.

💡 Show Solution

Step 1: R² definition R² = r² = (correlation)²

Step 2: Why R² ≥ 0 Any number squared is non-negative:

  • Even negative r gives positive R²
  • (-0.7)² = 0.49 ≥ 0
  • Minimum R² = 0 (no relationship)

Step 3: Why R² ≤ 1 Correlation is bounded: -1 ≤ r ≤ 1

Squaring preserves this:

  • Maximum |r| = 1
  • Maximum r² = 1² = 1
  • Cannot exceed 100% of variation

Step 4: Interpretation R² = 0: No linear relationship (0% explained) R² = 1: Perfect linear relationship (100% explained)

You cannot explain less than 0% or more than 100%!

Step 5: If you see R² = 1.5 or R² = -0.3 CALCULATION ERROR! Recheck your work.

Answer: R² must be 0 ≤ R² ≤ 1 because it equals r² (always non-negative) and correlation is bounded by -1 ≤ r ≤ 1. Cannot explain less than 0% or more than 100% of variation.

5Problem 5medium

❓ Question:

A model has SST = 500 and SSE = 125. Calculate and interpret R².

💡 Show Solution

Step 1: Understand sum of squares SST = Total Sum of Squares = total variation SSE = Sum of Squared Errors = unexplained variation SSR = Regression Sum of Squares = explained variation

Relationship: SST = SSR + SSE

Step 2: Calculate SSR SSR = SST - SSE SSR = 500 - 125 = 375

Step 3: Calculate R² Formula: R² = SSR/SST

R² = 375/500 = 0.75

Alternative: R² = 1 - SSE/SST = 1 - 125/500 = 1 - 0.25 = 0.75 ✓

Step 4: Interpret R² = 0.75 = 75%

"75% of the total variation in y is explained by the regression model."

Explained: 375/500 = 75% Unexplained: 125/500 = 25%

Answer: R² = 0.75 or 75%. The model explains 375 out of 500 total units of variation, leaving 125 units (25%) unexplained.

Explain using:

⚠️ Common Mistakes: Coefficient of Determination

Avoid these 3 frequent errors

📌 Related Topics in Unit 2: Exploring Two-Variable Data

❓ Frequently Asked Questions

What is Coefficient of Determination?▾
Interpret r² as the proportion of variability explained by the regression model.
How can I study Coefficient of Determination effectively?▾
Start by reading the study notes and working through the examples on this page. Then use the flashcards to test your recall. Practice with the 5 problems provided, checking solutions as you go. Regular review and active practice are key to retention.
Is this Coefficient of Determination study guide free?▾
Yes — all study notes, flashcards, and practice problems for Coefficient of Determination on Study Mondo are free to access. No account is needed.
What course covers Coefficient of Determination?▾
Coefficient of Determination is part of the AP Statistics course on Study Mondo, specifically in the Unit 2: Exploring Two-Variable Data section. You can explore the full course for more related topics and practice resources.
Are there practice problems for Coefficient of Determination?▾
Yes, this page includes 5 practice problems with detailed solutions. Each problem includes a step-by-step explanation to help you understand the approach.