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

Using a confidence interval to test slope | More on regression | AP Statistics | Khan Academy


2m read
·Nov 11, 2024

Hashem obtained a random sample of students and noticed a positive linear relationship between their ages and their backpack weights. A 95% confidence interval for the slope of the regression line was 0.39 plus or minus 0.23. Hashim wants to use this interval to test the null hypothesis that the true slope of the population regression line, so this is a population parameter right here, for the slope of the population regression line is equal to zero versus the alternative hypothesis is that the true slope of the population regression line is not equal to zero at the alpha is equal to 0.05 level of significance. Assume that all conditions for inference have been met.

So, given the information that we just have about what Hashem is doing, what would be his conclusion? Would he reject the null hypothesis, which would suggest the alternative, or would he be unable to reject the null hypothesis?

Well, let's just think about this a little bit. We have a 95% confidence interval. Let me write this down. So our 95% confidence interval could write it like this, or you could say that it goes from 0.39 minus 0.23, so that would be 0.16. So it goes from 0.16 until 0.39 plus 0.23 is going to be what? 0.62.

Now, what a 95% confidence interval tells us is that 95% of the time that we take a sample and we construct a 95% confidence interval, that 95% of the time we do this, it should overlap with the true population parameter that we are trying to estimate.

But in this hypothesis test, remember, we are assuming that the true population parameter is equal to zero, and that does not overlap with this confidence interval. So, assuming—let me write this down—assuming the null hypothesis is true, we are in the less than or equal to five percent chance of situations where beta not overlap with 95 intervals.

And the whole notion of hypothesis testing is you assume the null hypothesis, you take your sample, and then if you get statistics, and if the probability of getting those statistics for something even more extreme than those statistics is less than your significance level, then you reject the null hypothesis, and that's exactly what's happening here.

This null hypothesis value is nowhere even close to overlapping. It's over 1600s below the low end of this bound, and so because of that, we would reject the null hypothesis, which suggests the alternative.

One way to interpret this alternative hypothesis that beta is not equal to zero is that there is a non-zero linear relationship between ages and backpack weights. Ages and backpack weights, and we are done.

More Articles

View All
The Book Bush Was Reading on 9/11
I’m often asked why I have this book. Well, this book is a piece of American History. It is the book that George W. Bush was reading when 9⁄11 happened. That morning, he was at M. E. Booker Elementary School in Sarasota, Florida, following along as studen…
The Dark History of ChatGPT
The world was still coming to terms with the powers of the artificial intelligence chatbot called ChatGPT when GPT-4 was released in March of 2023. GPT-4 is miles ahead of GPT-3.5, the engine on which ChatGPT is running. At the time of writing, GPT-4 can …
Chi-square test for association (independence) | AP Statistics | Khan Academy
We’re already familiar with the chi-squared statistic. If you’re not, I encourage you to review the videos on that. And we’ve already done some hypothesis testing with the chi-squared statistic. We’ve even done some hypothesis testing based on two-way tab…
Infiltrating the Illegal Wildlife Trade: The Human Cost | Nat Geo Live
In East Africa, ivory trafficking is probably what you might guess. It’s organized crime, it’s poachers on the ground, corrupt governments. Central Africa; completely different. It’s a war zone. These are the rangers. These six men are dead. They were on…
What Science Tells Us About Living Longer | Podcast | Overheard at National Geographic
Foreign s have always been interested in finding ways to live longer. The oldest surviving story in recorded history is Mesopotamia’s 4,000-year-old Epic of Gilgamesh, and this desire shows up even there. After the death of a close friend, our hero Gilgam…
Analyzing related rates problems: equations (trig) | AP Calculus AB | Khan Academy
A 20 meter ladder is leaning against a wall. The distance ( x(t) ) between the bottom of the ladder and the wall is increasing at a rate of 3 meters per minute. At a certain instant ( t_0 ), the top of the ladder is a distance ( y(t_0) ) of 15 meters from…