Interpreting Slopes, Intercepts and R-Squared
Turn a fitted line into plain English: what the slope and intercept mean, and what R-squared says about how much the line explains.
Key takeaways
- The slope is the predicted change in y for a one-unit rise in x. Always say it with units.
- The intercept is the prediction when x is zero. It is sometimes meaningful and sometimes just a number that anchors the line.
- R² is the share of the variation in y that the line accounts for, from 0 to 1.
- A high R² does not prove a cause, and a low R² does not make a slope worthless.
- Changing the units of x or y changes the slope's size but not the story.
A regression program prints a short block of numbers: an intercept, a slope, and something called R-squared. To a beginner it looks like a license plate. To an economist it is a small story. This lesson teaches you to read that story in plain English and, just as important, to notice when the story says less than it seems to.
We will use the five quiz-takers from The Line of Best Fit. Their fitted line was ŷ = 44.5 + 8.5x, where x is hours studied and ŷ is the predicted quiz score. Everything below reads that one line from several angles.
Reading the slope
The slope of 8.5 means: among these students, one extra hour of study goes with a score that is 8.5 points higher, on average. Notice the careful wording. It says "goes with," not "causes." The regression, by itself, only describes how the two numbers travel together. Whether extra studying truly raises scores is the causal question from the earlier lesson.
A good sentence about a slope has four parts: how much, of what, per what, and in which group. "8.5 points of quiz score, per extra hour studied, among these five students." If one of the four is missing, the sentence is incomplete.
A slope can be positive, negative or near zero. A negative slope in a study of used cars, for instance, might say each extra year of age goes with a price that is lower by some amount. A slope near zero says the line is almost flat: knowing x barely changes your guess about y.
Reading the intercept
The intercept of 44.5 says: a student who studied zero hours is predicted to score 44.5. Is that sensible here? Possibly. Someone who studied nothing might still guess and pick up a few points. But our data only covered 1 to 5 hours, so zero hours is slightly outside what we saw. We should hold that number loosely.
Sometimes the intercept is plainly silly. Suppose you regress the price of homes on their size. The intercept is the price of a home with zero square feet, which does not exist. The number is still needed because the line has to cross the vertical axis somewhere, but nobody should quote it as a finding. The rule: report the intercept, use it for calculating predictions, but interpret it only when x = 0 is a realistic situation.
There is a useful trick. If you subtract the average from x before running the regression, the intercept becomes the predicted y at average x. For our students, with x measured as hours minus 3, the intercept would be 70, the average score. The slope stays 8.5. Same line, easier story.
Units change the size, not the meaning
If we had measured study time in minutes instead of hours, the slope would shrink. One hour is 60 minutes, so each extra minute goes with 8.5 ÷ 60 ≈ 0.14 points. Nothing about the relationship changed; the slope simply reports per-minute rather than per-hour. If we had scored the quiz out of 10 instead of 100, the slope would be 0.85 points per hour.
So never judge a slope's size without its units. "The slope is 0.14" sounds tiny, until you learn it is per minute. Likewise "the slope is 8,500" could mean dollars per year or dollars per decade.
How good is the line? Enter R²
The slope tells us the direction and the rate. It does not tell us how tightly the dots hug the line. For that we use R-squared, written R². It answers this question: of all the ups and downs in y, what share does the line account for?
The idea starts with the total variation in y. Without any line, our best guess for everyone's score would be the average, 70. The total squared miss from that guess is the sum of (y − 70)²:
Scores: 55 60 70 75 90
y − 70: −15 −10 0 5 20
Squared: 225 100 0 25 400 Total = 750 Now use the line instead. The misses shrink to the residuals we computed before: +2, −1.5, 0, −3.5, +3. Their squares sum to 27.5. So the line removed 750 − 27.5 = 722.5 of the 750 units of squared miss.
The line removes 722.5 of 750 units of squared miss. Example with made-up numbers.
R² is the explained share:
R² = 1 − (sum of squared residuals ÷ total variation)
R² = 1 − 27.5 ÷ 750 = 1 − 0.0367 = 0.9633 So about 96% of the variation in these five scores goes with study hours. That is a strikingly tight fit. (With only five students and a made-up example, it is easy to get a high fit. Real data is rarely this neat.)
In simple regression with one predictor, R² equals the square of the correlation r. Here r = 85 ÷ √(10 × 750) = 85 ÷ 86.6 ≈ 0.98, and 0.98² ≈ 0.96. The two numbers agree.
What R² looks like
R² ranges from 0 to 1. At 1, every dot sits exactly on the line. At 0, the line is no better than just guessing the average. Seeing the difference helps.
In the right panel the line still slopes upward, but knowing x leaves much of y unexplained. That is common in economics. People are complicated, and a regression of one person's wage on years of school might reach an R² of only 0.1 to 0.3 with real survey data. Such a regression can still teach us something valuable about how wages rise with schooling.
Worked example: reading a printout
Suppose a researcher regresses weekly pizza sales (in dozens of pies) at a shop on the price per pie (in dollars) across 40 weeks and gets:
Sales = 120 − 6 × Price R² = 0.55 Read it piece by piece:
- Slope −6. In these weeks, each $1 higher in price goes with 6 fewer dozen pies sold per week, on average.
- Intercept 120. At a price of $0, predicted sales are 120 dozen. A free pizza is outside what the shop ever charged, so this is just an anchor.
- R² = 0.55. About 55% of the week-to-week variation in sales goes with price. The other 45% comes from weather, holidays, promotions and everything else.
Prediction at a $10 price: 120 − 6 × 10 = 120 − 60 = 60 dozen. At $15: 120 − 90 = 30 dozen. At $25: 120 − 150 = −30, which is impossible. The line breaks down well before the price reaches that level, the same extrapolation warning we saw before.
Common mistakes
Mistake 1: treating R² as proof of a cause. A high R² only says the line fits. Ice cream and sunburn could have a high R² too. Fit is not causation.
Mistake 2: dismissing a low R². A slope can be real and important even if the line leaves most variation unexplained. If a job-training program raises earnings by an average of $2,000, that matters, even if earnings differ hugely across people for other reasons. R² speaks about how well we predict individuals, not about whether the slope is believable. How believable a slope is belongs to the next lessons on standard errors.
Mistake 3: chasing R² upward. Adding more predictors never lowers R² and usually raises it a little, even if the new variables are junk. A model with a huge R² built from random noise is called overfit. Later we will meet adjusted measures that guard against this, in Multiple Regression and Holding Things Constant.
Mistake 4: mixing up the slope and the correlation. Slope tells you the size of the change in y per unit of x. Correlation tells you how tight the cloud is. A very flat line can have a perfect fit, and a very steep line can have a loose one.
Reading a slope in a real-world setting
Here is how a careful reporter or student might phrase a result. Suppose a labor study finds that, across a sample of workers, each extra year of schooling goes with $2.10 more per hour in pay. A sloppy sentence says "a year of school raises your pay by $2.10." A careful one says "in this sample, workers with one more year of school earned $2.10 more per hour on average." The second version is shorter on drama but safer, because it does not smuggle in a cause.
The careful version also leaves room for a follow-up: why might that gap exist? Maybe school teaches skills. Maybe people who stay in school are more driven or come from families with more connections. Both stories fit the same slope. The slope is the starting point of an investigation, not the end.
Another habit is to compare the slope with the typical size of y. If the average wage in the sample is $25 an hour, then $2.10 is about 8% of it. That puts the effect in proportion. A slope that looks large in raw numbers may be small next to the typical outcome, and a small-looking slope may be large.
Putting it together
When you meet a regression line in an article, run through a quick routine. State the slope in a full sentence with units. Decide whether the intercept deserves attention. Read R² as "how much of the ups and downs does this account for?" Then ask the question R² cannot answer: could the slope be a fluke of a small sample? That is the subject of Standard Errors and Inference in Regression.
Words to know
Slope the predicted change in the outcome for each one-unit increase in the predictor.
Intercept the predicted outcome when the predictor is zero.
R-squared (R²) the share of the variation in the outcome that the fitted line accounts for.
Total variation the sum of squared gaps between each outcome and the average outcome.
Explained variation the part of the total variation that the fitted line removes.
Overfitting building a model so tailored to one sample that it fits noise and predicts poorly elsewhere.
Fit how closely the data points cluster around the fitted line.
Check yourself
- In the line ŷ = 44.5 + 8.5x, what does 8.5 mean in a full sentence?
- Why is the intercept of a home-price regression on square feet not worth quoting as a finding?
- If study time were measured in minutes, what would the slope be, to two decimals?
- Total variation is 750 and the sum of squared residuals is 27.5. What is R²? Round to three decimals.
- A pizza line is Sales = 120 − 6 × Price. What sales does it predict at a price of $12?
- Explain why a low R² does not mean the slope is unimportant.
Show the answers
- Among these students, each extra hour of study goes with a quiz score that is 8.5 points higher on average.
- It is the price of a home with zero square feet, which does not exist, so the number only anchors the line.
- 8.5 ÷ 60 = 0.1417, so about 0.14 points per minute.
- R² = 1 − 27.5 ÷ 750 = 1 − 0.0367 = 0.963.
- 120 − 6 × 12 = 120 − 72 = 48 dozen pies.
- R² tells how well we predict individual outcomes, but a slope can be large and reliable on average even when other factors still cause lots of scatter.