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

Worked example of linear regression using transformed data | AP Statistics | Khan Academy


4m read
·Nov 11, 2024

We are told that a conservation group with a long-term goal of preserving species believes that all at-risk species will disappear when land inhabited by those species is developed. It has an opportunity to purchase land in an area about to be developed. The group has a choice of creating one large nature preserve with an area of 45 square kilometers and containing 70 at-risk species or five small nature preserves, each with an area of three square kilometers and each containing 16 at-risk species unique to that preserve.

Which choice would you recommend and why?

Here's some interesting data. It looks like some data they have gathered for different islands and we have their areas and then this is the number of species at risk in 1990 and then the species extinct by 2000. We can see for these various islands their areas and the proportion that got extinct. It looks like they're plotted on this scatter plot.

Now, be very careful when you look at this because look at the two axes. The vertical axis is the proportion extinct in 2000, so it's these numbers. But the horizontal axis isn't just straight up area; it's the natural log of the area. Why did they do this? Well, notice when you make the horizontal axis the natural log of the area, it looks like there's a linear relationship. But be clear, it's a linear relationship between the natural log of the area and proportion extinct in 2000.

The reason why it's valuable to do this type of transformation is now we can apply our tools of linear regression to think about what would be the proportion extinct for the 45 square kilometers versus for the five small three-kilometer islands. So pause this video and see if you can figure it out on your own.

They give us the regression data for a line that fits this data. All right, now let's work through it together and to make some space because all of it is already plotted right over here and we have our regression data.

The regression line, we know its slope and y-intercept. The y-intercept is right over here: 0.28996. So it's going to be right over here would be the y-intercept. Its slope is approximately negative 0.05. I could eyeball it; it probably is going to look something like this. That's the regression line.

Another way to think about it is the regression line tells us, in general, the proportion—I'll just say proportion shorthand for proportion extinct—is going to be equal to our y-intercept 0.28996 minus 0.053 and we have to be careful here. You might be tempted to say times the area, but no, the horizontal axis here is the natural log of the area times the natural log of the area.

We can use this equation for both scenarios to think about what is going to be the proportion that we would expect to get extinct in either situation, and then how many actual species will get extinct. The one that maybe has fewer species that get extinct is maybe the best one, or the one that the more that we can preserve is maybe the best one.

So let's look at the two scenarios. The first scenario is the 45 square kilometer island. This is just one, so times one. What is going to be the proportion that we would expect to go extinct based on this regression?

What's going to be 0.28996 minus 0.05323 times the natural log of 45? If we want to know the actual number that go extinct, the number extinct would be equal to the proportion times how many—that's 70 at-risk species on that island.

So let's get our calculator out to figure that out. The proportion we would expect to go extinct in the 45 square kilometer island based on our linear regression goes like this: approximately nine percent. If we want to figure out the actual number we would expect to go extinct, we multiply that by the number of species on that island, which is 70.

We get approximately 6.11. So this is going to be approximately 6.11; we could say there would be approximately six extinct. This is all very approximate. Thus, we have approximately 64 saved.

Now let's think about the other scenario. Let's think about the scenario where we have five small nature preserves. It's going to be three square kilometers times five islands, and we're going to just do the same exercise.

Our proportion that goes extinct is going to be 0.28996—that's just the y-intercept for our regression line—minus 0.05323. They have a negative sign there because we have a negative slope, and this is not just times the area; it's times the natural log of the area.

It's going to be three square kilometers. Our number extinct will be equal to our proportion calculated in the line above times five small nature preserves, each with an area of three square kilometers and each containing 16 at-risk species.

So 5 times 16, if each island has 16 and there are 5 islands, that's 5 times 16, which equals 80. Now, let's figure out what this is; get the calculator out again.

So this is going to be the proportion; it's a much higher proportion, and then we'll multiply that times our number of species to figure out how many species will go extinct.

We have here it's approximately 18.52. So this is approximately 18.52. Another way to think about it is we're going to have approximately, well, if we round, let's just say 19 extinct. If we have 19 extinct, how many we’re going to save? We're going to have 61 saved.

Even if you said 18 and a half here and 61.5 here, on either measure, the 45 square, the big island is better. You're going to have fewer species that are extinct and more that are saved.

So which choice would you recommend and why? I'd recommend the one large island because you're going to save—you would expect to save more species—and you would expect that fewer are going to get extinct based on this linear regression.

More Articles

View All
Expressing decimals in multiple forms
We’re asked which two of the following expressions have the same value as eight point seven six. Pause this video and see if you can figure this out on your own. Alright, now let’s do it together. Before I even look at these choices, I’m just going to re…
30 Years After Chernobyl, Nature Is Thriving | National Geographic
The large reason why these animals seem to be persisting in high densities or a high abundance within the exclusion zone is because of the absence of humans. It’s absolutely normal. As you drive around the exclusion zone, you’re overcome by all the lush n…
The Most Important Personality Trait You Need to Build
Pay attention! Okay, because this fact will blow your mind. Did you know that 99.9% of all the species that have ever lived on Earth are now extinct? So, how about the 0.01% that survived? Well, a key factor that determined their survival was their abilit…
How much I pay in taxes on a $163,800 per month income
What’s up you guys? It’s Graham here. So, as most of you probably know, I don’t have a life because I’m constantly sitting here reading and replying to all the comments. And it’s a good thing I do that because anytime I see a recurring question or any sor…
A Real Life Haptic Glove (Ready Player One Technology Today) - Smarter Every Day 190
Hey, it’s me Destin, welcome back to Smarter Every Day. I love Ready Player One. It’s a fascinating book about this virtual world called The Oasis, based here in Columbus, Ohio. If we’re ever gonna get to a virtual world, we have to have ways to interact …
Growing Up Around Genocide | The Story of Us
Today, I’m here in Seven Itza, but you get my son Raja. Hi, Morgan. It’s a pleasure to meet you. Pooja, welcome. What in the world happened here? So, Morgan, what actually happened here? It’s a genocide. This border of Serbia is near, ah, very, very, ver…