yego.me
💡 Stop wasting time. Read Youtube instead of watch. Download Chrome Extension

Impact of removing outliers on regression lines | AP Statistics | Khan Academy


4m read
·Nov 11, 2024

The scatter plot below displays a set of bivariate data along with its least squares regression line. Consider removing the outlier at (95, 1). So, (95, 1) we're talking about that outlier right over there and calculating a new least squares regression line. What effects would removing the outlier have? Choose all answers that apply.

Like always, pause this video and see if you could figure it out. Well, let's see. Even with this outlier here, we have an upward sloping regression line, and so it looks like our R already is going to be greater than zero, and of course, it's going to be less than one. So our R is going to be greater than zero and less than one. We know it's not going to be equal to one because then we would go perfectly through all of the dots. It's clear that this point right over here is indeed an outlier.

The residual between this point and the line is quite high. We have a pretty big distance right over here; it would be a negative residual. So this point is definitely bringing down the R, and it's definitely bringing down the slope of the regression line. If we were to remove this point, we're more likely to have a line that looks something like this, in which case it looks like we would get a much, a much, much better fit. The only reason why the line isn't doing that is it's trying to get close to this point right over here.

So if we remove this outlier, our R would increase. So R would increase, and also the slope of our line would increase. The slope would increase. We'd have a better fit to this positively correlated data, and we would no longer have this point dragging the slope down anymore.

So let's see which choices apply. The coefficient of determination R squared would increase. Well, if R would increase, then squaring that value would increase as well, so I will circle that. The correlation coefficient R would get close to zero? No, in fact, it would get closer to one because we would have a better fit here, and so I will rule that out.

The slope of the least squares regression line would increase? Yes, indeed, this outlier is pulling it down. If you take it out, it'll allow the slope to increase, so I will circle that as well.

Let's do another example. The scatter plot below displays a set of bivariate data along with its least squares regression line. Same idea: consider removing the outlier at (10, 8). So, we're talking about that point there and calculating a new least squares regression line. So what would happen this time?

As is, without removing this outlier, we have a negative slope for the regression line, so we're dealing with an R. We already know that -1 is less than R, which is less than zero. Without even removing the outlier, we know it's not going to be negative 1. If it was negative, if R was exactly negative one, then it would be a downward sloping line that went exactly through all of the points.

But if we remove this point, what's going to happen? Well, this least squares regression is being pulled down here by this outlier. So if you were to remove this point, the least squares regression line could move up on the left-hand side, and so you'll probably have a line that looks more like that. And I'm just hand-drawing it, but even what I hand drew looks like a better fit for the leftover points.

So clearly, the new line that I drew after removing the outlier has a more negative slope. So removing the outlier would decrease R. R would get closer to 1; it would be closer to being a perfect negative correlation, and also it would decrease the slope.

Which choices match that? The coefficient of determination R squared would decrease. So let's be very careful. R was already negative; if we decrease it, it's going to become more negative. If you square something that is more negative, it's not going to become smaller.

Let's say before you remove the data point R was—I'm just going to make up a value—let's say it was 0.4, and then after removing the outlier, R becomes more negative, and it's going to be equal to 0.5. Well, if you square this, this would be positive 0.16, while this would be positive 0.25. So if R is already negative, and if you make it more negative, it would not decrease R squared; it actually would increase R squared, so I will rule this one out.

The slope of the least squares regression line would increase? Nope, it's going to decrease. It's going to be a stronger negative correlation; rule that one out. The Y intercept of the least squares regression line would increase? Yes. By getting rid of this outlier, you could think of it as the left side of this line is going to increase.

Another way to think about it is the slope of this line is going to decrease; it's going to become more negative. We know that the least squares regression line will always go through the mean of both variables, so we're just going to pivot around the mean of both variables, which would mean that the Y intercept will go higher. So I will fill that in.

More Articles

View All
Summiting the World’s Most Dangerous Mountain | Podcast | Overheard at National Geographic
We’re high on a snowy mountain in Pakistan where a group of Nepalese climbers are struggling through harsh winds. It’s two o’clock in the evening. Think this is one of the hottest climbs we have ever met. [Music] That’s Ming Maggioja Sherpa. He goes by …
What Happens When an Astronaut Drops Something in Space? | Short Film Showcase
My name is Vanguard. My body is an aluminium sphere sixteen point five centimeters in diameter, and I weigh one point four seven kilograms. In 1958, I was the first solar-powered satellite to be launched into outer space. I had value, I served a purpose, …
ALUX Builds School for 60,000 People
We want to leverage our platform to help people in the communities that need it most. When we asked you about it, you said Uganda, so we’re here. Ladies and gentlemen, welcome to Interview International Airport. By the local time, it’s 25 minutes past whe…
Meta Analysis: What is Facebook's Future? (w/ Divya Narendra @SumZeroInc)
Take a look at this. This is the one-year stock price chart for Meta, the world’s biggest social media company. As you can see, it doesn’t look so good at the time of recording, down 44% year-to-date. But if you look at, say, revenue or net income or free…
How to read 1098 and 1099 tax forms | Taxes and tax forms | Financial Literacy | Khan Academy
Let’s talk about a few very common IRS forms or statements that you are likely to encounter in your life. The first one of these you see right over here is called a 1098, and there are different types of 1098 forms. There’s a 1098, which is to report mort…
How to sell a $14,000,000 private jet.
That about 13 million, so the company is called. He’s acquired an aircraft cargo company. Right now, the goal is to have a charter service for between 8 to 12 to 15 kinds of people. Are they looking for somebody to work with them to acquire airplanes for…