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

Hypotheses for a two-sample t test | AP Statistics | Khan Academy


3m read
·Nov 11, 2024

[Music]

Market researchers conducted a study comparing the salaries of managers at a large nationwide retail store. The researchers obtained salary and demographic data for a random sample of managers. The researchers calculated the average salary of the men in the sample and the average salary of the women in the sample. They want to test if managers who are men have a higher average salary than managers who are women. Assume that all conditions for inference have been met.

Which of these is the most appropriate test and alternative hypothesis? We can see they're talking about a paired t-test and a two-sample t-test, and then they talk about the alternative hypotheses. So pause this video and try to figure this out on your own.

So first, let's think about the difference between a paired t-test and a two-sample t-test. In a paired t-test, we're going to construct hypotheses around a parameter for a population; that will often be the mean difference. So we have one population, so we're talking about the paired situation right over here.

Let's say we say, "Hey, do people run faster when they wear shorts or pants?" For each member of the population, you could see what you would, if you really had perfect information, know how fast do they run with pants and how fast do they run with shorts. Then you would calculate the difference, and then across the whole population, you could actually get that mean difference.

So the mean difference of pants minus shorts, and of course, in order to estimate that or in order to do a hypothesis test around that, you would take a sample and then you would calculate the sample mean of the difference of pants minus shorts. Then you would say, "Hey, assuming the null hypothesis is true," you would construct some null hypothesis, likely that this mean is zero. You would say, "Hey, if the null hypothesis is true that this is actually equal to zero, what's the probability that I got this result?" If that's below your significance level, then you would reject your null hypothesis and it would suggest the alternative that might be that, "Hey, maybe this mean is greater than zero."

On the other hand, a two-sample t-test is where you're thinking about two different populations. For example, you could be thinking about a population of men and you could be thinking about the population of women, and you want to compare the means between these two, say the mean salary.

So you have the mean salary for men and you have the mean salary for women. What you're trying to do with the hypothesis test is try to come up with some conclusions about the mean difference between these two parameters: the mean salary for men minus the mean salary for women.

Our null hypothesis is usually the no news here hypothesis. In this situation, our null hypothesis is that there is no difference between these means, and our alternative hypothesis in the situation that we are looking at, because they want to test if managers who are men have a higher average salary, if they just wanted to test that whether managers who are men have a different salary, then our alternative hypothesis would look something like this: where the mean of men minus the mean of women is not equal to zero.

But they aren't just testing to see if the means are different; they want to see if men have a higher average salary. So instead of not equal to zero there, we would have greater than zero for our alternative hypothesis.

So which choice is that? Well, we're clearly in a two-sample t-test situation and we want to do the greater than, not the not equal to, so we are in that choice right over there.

More Articles

View All
Ancient Egypt's Celebration of the Dead | Lost Treasures of Egypt
[cow mooing] NARRATOR: Each year after the harvest, the people of Thebes held a celebration of the dead called the “Beautiful Festival of the Valley.” They carried statues of Thebes’ three main gods in a grand procession out of Karnak temple east of the …
Ross Ice Shelf Research | Continent 7: Antarctica
The Ross Ice Shelf is the largest lump of floating ice in the world. So little is known; the surface of Pluto has much better imagery than what’s beneath Raphael. It’s a lot of new stuff that we’re going to discover. No one’s ever done this before; it’s e…
Warren Buffett: MAJOR Updates from the Berkshire Hathaway Shareholders Meeting 2023
Well, we made it everyone! I’m here in Omaha with Hamish, and just a few days ago we were lucky enough to go to the Berkshire Hathaway annual shareholders meeting to get all the latest news from the man himself, Mr. Warren Buffett. And of course, the real…
The Less You Care, The Happier You’ll Be | Taoist Wisdom For An Overly Serious World
A long time ago, Confucius and his students walked on a road to the kingdom of Wei. They stumbled upon a hermit at least a hundred years old. The man was gathering some grain that farmers had dropped, and he was singing while doing so. One of the student…
#shorts I Was Walking Right After Surgery
20 years ago, hip surgery was not a day in, day out. It was not. I think I was only here 3 hours and 40 minutes. Because we’ve been able to save operational money, we can convert that into equipment and technology for the hospital, and that made patients …
Climbing Asia’s Forgotten Mountain, Part 1 | Nat Geo Live
It was harder than we anticipated and it was much, much colder. We’re a team of six people. Our goal is to determine what the highest peak in Burma is and then climb it. Like to solve this fantastic geographical mystery. It never let up, just taken down t…