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

Generalizabilty of survey results example | AP Statistics | Khan Academy


3m read
·Nov 11, 2024

Niketi took a random sample of 10 countries to study fertility rate and life expectancy. She noticed a strong negative linear relationship between those variables in the sample data. Here is computer output from a least squares regression analysis for using fertility rate to predict life expectancy. Use this model to predict the life expectancy of a country whose fertility rate is two babies per woman, and you can round your answer to the nearest whole number of years. So pause this number and see if you can do it. You might need to use a calculator.

All right, now let's do this together. So, in general, this computer output is actually giving us a lot of data. More than we need, actually, to do this prediction. But it's giving us the data we need to know the equation for a regression line. So, the general form of a regression line, a linear regression line, would be our estimate.

And that little hat means we're estimating our y value. Would be ŷ (hat) would be equal to our y-intercept plus our slope times our x value. Now, in this situation, we're using fertility to predict life expectancy. Or let me circle all of life expectancy. So, the thing that we're trying to predict, that is y; life expectancy and fertility is the thing that we're using to predict that. So, that is going to be our x right over there.

Now, what are a and b? Well, our computer output gives us that it's these numbers right over here. Our constant coefficient right over here, this is a, and our slope is going to be negative 5.97. You could view it as the coefficient on fertility. Remember, this right over here is fertility. You could even rewrite this as our estimated life expectancy.

Estimated life expectancy, I could put a little hat on it to show this is estimated life expectancy, is going to be equal to 89.70 minus 5.97 times fertility. Times fertility rate, I'll just call it fert and period right over there. Notice this is the coefficient on fertility, and then this is the constant coefficient. We could view that right over there.

Now we can use this to estimate the life expectancy of a country whose fertility rate is two babies per woman. For fertility, you just put a two here and then you get your estimated life expectancy. So, what's that going to be? We can get out a calculator.

So we can say 5.97 times 2 is equal to that. And then we want to subtract that from, so put a negative there, and add that to 89.70, which is equal to, and we want to round to the nearest whole number of years. So, that's approximately 78 years. So, this is approximately 78 years and we're done.

Just to be clear, what even happened here is that Naketji did a regression. On the x-axis is fertility; fertility on the y-axis is let's call it l.e. That's our y-axis. Took ten data points: one, two, three, four, five, six, seven, eight, nine, ten. Put a regression line on, tried to fit a regression line. You saw a negative linear relationship, and then using this regression line to estimate, "Hey, if fertility is, let's say, this is two right over here, what is the estimated life expectancy?" And we just saw that that would be roughly 78 years.

More Articles

View All
The First Monotheistic Pharaoh | The Story of God
Amid the remains of dozens of pharaohs, Egyptologist Salma Ikram is going to help me find one whose name is Akhenaten. There he is! Yep, he thought that there were too many gods and not enough focus on him. There will need to be an important god whom onl…
The Secret of Great Photography: "Getting Access" | Nat Geo Live
While I was living in India, the biggest door of my career opened. I pitched a story to National Geographic, and it was to go and tell the story about the last, hand-pulled rickshaw pullers who were living in Calcutta. Word was that they were going to ban…
TikTok Is More Dangerous Than We Thought
Tick Tock is far more dangerous than we thought. In the past two years, at least 15 kids age 12 or younger, across the globe, from Milwaukee to Sicily, have painfully passed on after attempting what seemed to them like harmless challenges they found on th…
Change Your Life – One Tiny Step at a Time
If you are like most people, there is a gap between the person you are and the person you wish to be. There are little things you think you should do and big things you ought to achieve. From working out regularly, eating healthily, learning a language, w…
Harj Taggar - Choosing a Startup to Work At
Hey everyone, I’m Harj. I’m a partner at Y Combinator, and I’m going to answer how do you choose a startup to work at. So the first thing is to be sure you actually want to work at a startup. Working at a startup is not for everyone. It’s a very unique e…
Amber Heard Cross-Examined by Johnny Depp's Lawyer | Part One - Day 17 (Depp v Heard)
All right, are we ready for the jury? [Music] Thank you. So, all right, be seated. All right, next question. [Music] Good morning, Miss Heard. Good morning. Your relationship with Mr. Depp began in October of 2011, right? That’s correct. And you previou…