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
15 Things You Say You'll Do But Don't
Sometimes it seems like we enjoy letting ourselves down. When we look at all the things we say we’ll do but don’t do, it seems crazy. Many of those things are totally incompatible with your skills, lifestyle, and history of sticking to goals. And funny en…
Worked example: Using formal charges to evaluate nonequivalent resonance structures | Khan Academy
[Instructor] We’re told that three possible resonance structures for the thiocyanate ion are shown below. All right, there we have them. Based on formal charges, which of the three structures contributes most to the resonance hybrid of thiocyanate? And …
How NOT to Invest In Real Estate!!
Lots of you guys! It’s great here. So, when it comes to investing in real estate, just like anything else out there, there is a right way to do it too and a wrong way to do it. And since I have a bajillion videos on my channel already about exactly what y…
Koala Encounters
[Applause] I’m out on the Great Ocean Road, and I’ve just spotted my first koala in the wild, uh, since moving to Australia 7 years ago. He’s pretty amazing, uh, looks like he’s just woken up, and he’s a little bit groggy. Um, as you can see, koalas don’…
Isotopes | Atoms, isotopes, and ions | High school chemistry | Khan Academy
Every element is defined by the number of protons in its atoms, which is called its atomic number. So, for example, every atom of potassium has 19 protons, and every atom of cobalt has 27 protons. But what about neutrons? Well, an element doesn’t always …
❄️🇬🇧 London Snow Day 🇬🇧❄️
Wow, it finally snowed again in London! A snow day not to be squandered inside. I’m supposed to be working today, but does daily vlogging count? I’m not a daily vlogger, but I think if I make a vlog, that can totally count. Come join me as I do nothing m…