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

Conclusion for a two-sample t test using a confidence interval | AP Statistics | Khan Academy


2m read
·Nov 11, 2024

Yuna grows two varieties of pears: bosk and anju. She took a sample of each variety to test if their average caloric contents were significantly different. Here is a summary of her results, or here is a summary of her results, and so they give the same data for both of these samples. Once again, they happen to have the same sample size. They don't need to, but over here, instead of giving us a p-value, we've gotten a confidence interval.

Yuna wants to use these results to test her null hypothesis that the mean caloric content is the same versus her alternative hypothesis that they are different. Assume that all conditions for inference have been met. Based on the interval, what do we know about the corresponding p-value and conclusion at the alpha equal to 0.01 level of significance?

So pause this video and see if you can figure that out. Remember what a 99% confidence interval is: that says that if we construct confidence intervals 100 times, then 99 of those times we should overlap with the true parameter that we're trying to estimate. In that case, the true parameter is the true difference of these means.

Now, when we do a hypothesis test, we always start assuming that the null hypothesis is true. If we assume that the null hypothesis is true, another way of writing this null hypothesis is that the two means are equal. That's the same thing as the difference of the means equaling zero. Since we're assuming this and this is a 99% confidence interval, then 99 out of 100 times we do this, we should see that this interval overlaps with what we're assuming is the true parameter.

Right over here, this interval does indeed overlap with zero. If you take 4 minus 6.44, you're going to get negative 2.44. So 0 is definitely in the interval. Another way to think about it is we're not in the one percent of the times where we don't overlap. If we were in the one percent of times where we don't overlap with the assumed difference, then we would reject the null hypothesis.

Another way to think about it is our significance level, 0.01. Right over here, it's one minus our confidence level. If our 99% confidence interval overlaps with μ from the bosk pairs minus the mean caloric content of the anju pairs equaling 0, then that means that the p-value is greater than 0.01. We could also say that our p-value is greater than our significance level because that is our significance level.

Because of that, we fail to reject our null hypothesis. If this did not overlap with our assumed difference in the means, if it did not overlap with zero, then we would be in that one in a hundred scenario. That would tell us that our p-value is less than 0.01; our p-value is less than one minus our confidence level. In that case, we would reject the null hypothesis, and it would suggest that there is a difference in caloric content.

But because we fail to reject it, we can't conclude that there's a difference in caloric contents.

More Articles

View All
Worked example: Rewriting expressions by completing the square | High School Math | Khan Academy
Let’s see if we can take this quadratic expression here, ( x^2 + 16x + 9 ), and write it in this form. You might be saying, “Hey Sal, why do I even need to worry about this?” One, it is just good algebraic practice to be able to manipulate things. But as…
Free Solo 360 | National Geographic
Anybody could conceivably die on any given day, and we’re all gonna die eventually. [Applause] So, Lange just makes it far more immediate. You accept the fact that if anything goes wrong, you’re going to die, and that’s that. [Music] I wasn’t the kind of…
CEO Salaries Have Gone Too Far...
So if you’ve been paying attention to CNBC lately, you probably would have noticed this article: Alphabet CEO Sundar Pichai’s compensation topped 200 million dollars in 2022. In total, it was actually 226 million, consisting of a 2 million dollar base sal…
Charlie Munger: These 3 Simple Mental Models Helped Me Become a Billionaire
Hey everyone! Today’s video is about Charlie Munger and the concept of mental models. Charlie Munger is one of my favorite investors to study. He’s vice chairman of Berkshire Hathaway, the conglomerate controlled by Warren Buffett. Buffett has described M…
Setting a Deadfall | Live Free or Die
I haven’t been eating much. I’m pretty much down to survival rations, so I’m looking for signs of rodent. I’m seeing right here kind of a cave-like formation, so I’m going to go back there, see what I can find in the deep canyons of Arizona desert. Nomad…
$26,000 GOVERNMENT GRANT (Employee Retention Credit)
Why does nobody know about the employee retention credit? I want you to get this money. You’d be crazy not to get this. Instead of the car, it’s cash; it’s your cash you paid this. It pays up to twenty-six thousand dollars per employee that was on the W1 …