We want to know why one unusual data point can completely tilt a least-squares regression line, while another unusual point barely moves the line at all.
1
The Regression Line as a Seesaw
To see how a single point pulls on a regression line, we can picture the line of best fit as a stiff rod balanced by vertical rubber bands from the data points.
The Regression Line as a Seesaw
Because we use x to predict y, every residual is a purely vertical distance d. Least-squares regression minimizes the sum of squared vertical residuals, so a point twice as far vertically from the line adds four times as much to the sum of squares and pulls twice as hard on the rod:
Every least-squares regression line must pass through the center of the data at the mean of x and the mean of y,(xˉ,yˉ), which acts as the hinge of the seesaw.
2
Outliers, High Leverage, and Influential Points
Once we know the line pivots at (xˉ,yˉ), we can separate three ways a data point can stand out (an outlier, a high-leverage point, and an influential point) and see what each one does to the slope, y-intercept, s,r, and r2.
Outliers, High Leverage, and Influential Points
Each case combines horizontal distance from xˉ (leverage) and vertical distance from the trend in a different way:
Outlier near xˉ: A point with a large vertical residual right near xˉ pulls straight over the hinge, so it has almost no leverage and barely changes the slope (it only lifts yˉ and the whole line, by a small fraction of its residual), while its big vertical error makes s increase a lot and pushes r toward 0 (lowering r2).
High-leverage point on the trend: A point far horizontally from xˉ sits out on the end of the seesaw, but if it lands right along the line's path, its residual is near 0; it holds the slope steady and keeps s about the same while stretching the linear pattern over a wider range so r2 goes way up.
Influential point (high leverage and off the trend): A point far from xˉ that also breaks the vertical pattern pulls the end of the seesaw toward itself, strongly changing the slope and y-intercept: it either drags the line away from a clear trend (raising s and lowering r2) or connects a shapeless cloud of points (r≈0) to one extreme point to create a high r2.
Now let's test how each type of point shows up in a house-price scatterplot.
A single added point only tilts the regression line when it sits far from the horizontal center and pulls vertically away from the line.
3
Why Residual Plots Miss Influential Points
If we skip the scatterplot and check for unusual points by looking only at a residual plot, we can miss the most influential points.
Why Residual Plots Miss Influential Points
As a low-price house off the trend sits further to the right of xˉ, its growing leverage pulls the right end of the regression line down toward itself. Once it is far out past the other houses, its own residual on the residual plot is smaller than it was near xˉ, while the other houses' residuals are larger, and removing the point lets the line return to the trend of the other houses.
As an outlier moves out toward the edge, it pulls the regression line toward itself and hides its own residual.
4
Spotting Influential Points in Regression Output
When we are given the regression numbers with and without an unusual point instead of a graph, we can tell whether the point is influential and where it sits. Both a central outlier and an influential point can cause a big jump in s and a big drop in r2, so always look at the slope first to see if the seesaw tilted.
Let's compare the regression of sale price (in thousands of dollars) on house size (in thousands of square feet) for n=15 houses with and without a 6.0-thousand-square-foot house that sold for 250 thousand dollars, and then compare that with a second unusual house.
Spotting Influential Points in Regression Output
Text solution
Compare the slope and y-intercept with and without the first houseRemoving the 6.0-thousand-square-foot house more than doubles the slope and drops the y-intercept, which shows that this single point tilted the seesaw and is influential.
Check how the tilted line changes s and r2Putting that extreme house back in pulls the right end of the line down and away from the other 14 houses, increasing the typical vertical error s and making r2 drop sharply.
Contrast with the second scenario where the slope barely movesWhen removing a different unusual house leaves the slope almost identical even though s drops and r2 rises, the point has almost no leverage and is a non-influential vertical outlier near xˉ.
With the point:predicted pricer2s=96+172(size),=54.0%,=180.7textWithoutthepoint:predicted pricer2s=50+175(size),=88.4%,=75.2textChangewhenremoved:slope 172⟶175(line barely tilts)
So the first house is an influential high-leverage point far from xˉ that pulls the line away from the main trend, while the second house is a vertical outlier sitting near the average house size xˉ.
5
What to Do With an Unusual Point
When you find an outlier or an influential point that changes your regression results, you still have to decide whether it belongs in the model, and you should never delete a point just to make r2 look higher.
What to Do With an Unusual Point
Instead of throwing an unusual point away automatically, check three possibilities in order:
Mistake or wrong group: If the point is a data-entry typo (like typing 6.0 instead of 1.6) or comes from outside the group being studied (like a 50 dollar sale between family members), fix it or remove it and explain why.
Curved pattern: If points far to the right pull a straight line down because the true relationship curves and levels off, keep the data and use a log or power transformation to straighten the pattern.
Genuine extreme observation: If the measurement is accurate and a straight-line model still makes sense, report both regression fits: one with the unusual point included and one with it removed.
Key concepts
Every least-squares regression line pivots on the center of the data, (xˉ,yˉ), and balances vertical pulls that minimize squared vertical residuals: doubling a point's vertical distance from d to 2d quadruples its squared residual from d2 to 4d2 and doubles its pull from F to 2F.
To tell what an unusual point is doing, check both where it sits horizontally relative to xˉ (its leverage) and whether it breaks the vertical pattern:
Large residual near xˉ (vertical outlier, not influential)
Pulling right over the hinge at xˉ cannot tilt the seesaw. The slope barely changes (predicted price=96+172(size) vs. 50+175(size)), and the y-intercept goes up only because the whole line moves up, while the large vertical residual makes s jump and r2 drop.
Far from xˉ but right on the line (high leverage, neither an outlier nor influential)
Do not assume every extreme x-value ruins a regression. If a point far from xˉ sits right on the line's path (near-zero residual), it holds the line in place: the slope, y-intercept, and s stay nearly unchanged, while r2 increases because the linear trend now spans a much wider range.
Far from xˉ and off the trend (influential point)
High leverage combined with a vertical pull tilts the seesaw, causing a large change in the slope and y-intercept (predicted price=180+75(size) vs. 50+175(size)). If it pulls the line away from a tight trend, s rises and r2 drops; if it connects a random cloud of points (r≈0) to a single extreme point, it makes r2 jump up and creates a false linear trend.
Because an influential point pulls the fitted line close to itself, its own residual often looks small on a residual plot. Always test a suspect point by deleting it and re-running the regression. If the point is real data rather than an error or a curved trend needing a log or power transformation, report the regression both with and without the point.
6
Practice
1
A dataset of 20 used cars shows a strong negative linear relationship between mileage (x, in thousands of miles, with xˉ=50) and price (y, in thousands of dollars). A 21st car is added with x=50 thousand miles that sold for 25 thousand dollars more than predicted by the original regression line. Using the seesaw model, explain how adding this car affects the slope, y-intercept, s,r, and r2.
Compare the new car's mileage (x=50) with the horizontal center xˉ=50: how much leverage does a vertical pull have when it sits directly over the pivot?
Because the car's mileage is right at the horizontal center (x=xˉ=50), it pulls straight up over the pivot point of the seesaw and has zero leverage. (Watch out for the common mistake of assuming a huge +25-thousand-dollar residual must tilt the slope; without horizontal distance from xˉ, it cannot tilt the line.) The slope stays almost identical, while pulling the average y up slightly lifts the entire line and increases the y-intercept by a small amount. Because the point has a huge vertical residual, the standard deviation of the residuals s increases a lot, the negative correlation r weakens (moves closer to 0, not closer to −1), and r2 decreases.
2
In a study of study time (x, in hours) and exam score (y, in points), most students studied between 1 and 4 hours, giving the least-squares regression line y^=55+8x with r=0.78 and s=4.5. One additional student studied for 9 hours and scored 127 points. Is this student an outlier, a high-leverage point, or an influential point, and how does adding this student affect the slope, y-intercept, s, and r2?
Before deciding whether the point tilts the seesaw, plug x=9 into y^=55+8x to check its vertical residual.
At x=9, the existing line predicts
y^=55+8(9)=127 points
so this student sits right on the path of the line with a residual of 0, but far above the other x-values. (Don't call this student an outlier or influential point just because 9 hours and 127 points are much larger than the rest of the class; the vertical residual from the trend is 0.) The point has high leverage, is neither an outlier nor an influential point, and holds the line steady: the slope and y-intercept barely change, s stays about the same or decreases slightly, and r2 increases substantially (rather than staying at 0.782=60.8%) because the linear pattern now stretches across a much wider horizontal and vertical range without adding vertical scatter.
3
An economist studying 16 neighborhoods fits a regression of median rent (y, in hundreds of dollars) on distance from downtown (x, in miles) and finds y^=28.0−1.50x,r2=86.0%, and s=1.8. She then tests adding one more unusual neighborhood in two separate scenarios:
Scenario A (with Neighborhood A included): y^=28.7−1.48x,r2=52.0%,s=4.1
Scenario B (with Neighborhood B included): y^=22.0−0.55x,r2=31.0%,s=3.9
For each scenario, determine whether the added neighborhood is influential and describe where it sits on the scatterplot relative to xˉ and the original line.
Compare the slopes with and without the point first (−1.50 versus −1.48 and −0.55), rather than judging influence by the drop in r2.
In Scenario A, the slope barely changes (−1.50 to −1.48) while s jumps from 1.8 to 4.1 and r2 drops from 86.0% to 52.0%.(Be careful not to call Neighborhood A influential just because r2 dropped by 34 percentage points; an influential point must change the line itself.) Neighborhood A is not influential; it is a vertical outlier sitting near the average distance xˉ and well above the regression line (lifting the intercept slightly from 28.0 to 28.7). In Scenario B, the slope changes drastically (−1.50 to −0.55) and the y-intercept drops from 28.0 to 22.0. Neighborhood B is an influential point with high leverage sitting far from xˉ and far off the original trend line, pulling the line toward itself and away from the other 16 neighborhoods.
4
Without looking at a scatterplot, an analyst checks a residual plot to look for unusual points. Point P sits near xˉ and 10 units above the trend of the rest of the data, while Point Q sits at the far right edge of the x-values and 20 units below the trend of the rest of the data. (a) Before the line tilts, how many times harder does a rubber band stretched 20 units pull on the line than one stretched 10 units, and how many times as much does it add to the sum of squared residuals? (b) Why can Point Q end up with a smaller residual on the fitted residual plot than Point P, and how should the analyst test whether Point Q is changing the regression line?
Be careful not to say both are 2 times as large by forgetting to square the residual, or that the rubber band pulls 4 times as hard.
(a) Compare the ratio of the vertical distances (1020) with the ratio of the squared distances (102202). (b) Ask which of the two points has the leverage to pull the fitted line toward itself.
(a) Because least-squares regression minimizes squared vertical distances, a point twice as far from the line (20 units versus 10 units) adds four times as much to the sum of squared residuals (202=400 versus 102=100) and pulls twice as hard on the line. (Be careful not to say both are 2 times as large by forgetting to square the residual, or that the rubber band pulls 4 times as hard.) (b) (Don't assume that because Point Q started 20 units off the trend, twice as far as Point P, its final residual on the plot will also be twice as large.) Because Point Q sits far from xˉ, it has high leverage and pulls the right end of the regression line sharply downward toward itself; once the line settles close to Point Q, Q's own residual looks small on the residual plot while the other points have larger residuals. The analyst should delete Point Q and re-run the regression without it to see if the slope and y-intercept change noticeably.
5
A researcher plots daily coffee intake (x, in cups) against a blood biomarker (y) for 25 adults and obtains r=0.81 (r2=65.6%). When she looks at the scatterplot, she sees 24 adults in a random, shapeless cloud between 0 and 3 cups per day, and a single adult at 10 cups per day with a very high biomarker value. (a) What will happen to r and r2 if she removes the 10-cup adult, and why was r so high with all 25 adults? (b) She verifies that the 10-cup adult's record is not a data-entry error or from a different population. What should she avoid doing, and what are the two valid ways to proceed?
(a) Picture where the regression rod points when it connects a round cloud on the left to one high point on the far right, versus when only the round cloud remains. (b) If a high-intake point is real data, what could it show about the shape of the relationship?
(a) Removing the 10-cup adult will cause r and r2 to drop near 0.(Don't assume that removing an extreme point always increases r2; here the remaining 24 points have no linear trend at all.) With all 25 adults included, that single high-leverage point in the top right tilted the regression seesaw to connect the shapeless cloud straight to itself, making it look like there is a strong linear trend. (b) She must not simply delete the point to make her regression look cleaner. Instead, she should either check whether the true relationship is curved (rising only at high coffee intake) and needs a log or power transformation, or, if a straight-line model is still used, report both regression fits: one with the 10-cup adult included and one without.