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

Calculating a z statistic in a test about a proportion | AP Statistics | Khan Academy


3m read
·Nov 11, 2024

The mayor of a town saw an article that claimed the national unemployment rate is eight percent. They wondered if this held true in their own town, so they took a sample of 200 residents to test the null hypothesis. The null hypothesis is that the unemployment rate is the same as the national one versus the alternative hypothesis, which is that the unemployment rate is not the same as the national, where p is the proportion of residents in the town that are unemployed. The sample included 22 residents who were unemployed.

Assuming that the conditions for inference have been met—random, normal, and independence conditions that we've talked about in previous videos—identify the correct test statistic for this significance test. So let me just... I like to rewrite everything just to make sure I've understood what's going on. We have a null hypothesis that the true proportion of unemployed people in our town—that's what this p represents—is the same as the national unemployment.

Remember, our null hypothesis tends to be the "no news here," nothing to report, so to speak. We have our alternative hypothesis that, no, the true unemployment in this town is different, is different than eight percent.

What we would do is set some type of a significance level. We would assume that the mayor of the town sets it; let's say he or she sets a significance level of 0.05. Then what we want to do is conduct the experiment. This is the entire population of the town. They take a sample of 200 people, so this is our sample: n is equal to 200. Since it met the independence condition, we'll assume that this is less than 10 percent of the population.

Next, we calculate a sample statistic. Since we care about the true population proportion, the sample statistic we would care about is the sample proportion. We figure out that 22 out of the 200 people in the sample are unemployed, so this is 0.11.

Now, the next step is, assuming the null hypothesis is true, what is the probability of getting a result this far away or further from the assumed population proportion? If that probability is lower than alpha, then we would reject the null hypothesis, which would suggest the alternative.

But how do you figure out this probability? One way to think about it is: we could say how many standard deviations away from the true proportion the assumed proportion is. Then we could say what's the probability of getting that many standard deviations or further from the true proportion. We could use a z-table to do that, and so we want to figure out the number of standard deviations.

That would be a z statistic. So how do we figure it out? We can find the difference between the sample proportion here and the assumed population proportion. So that would be 0.11 minus 0.08, divided by the standard deviation of the sampling distribution of the sample proportions.

We can figure that out. Remember, all that is... Sometimes we don't know what the population proportion is, but here we're assuming a population proportion. So we're assuming it is 0.08, and then we'll multiply that times 1 minus 0.08, so we'll multiply that times 0.9.

This comes straight from what we've seen in previous videos: the standard deviation of the sampling distribution of sample proportions. Then you divide that by n, which is 200.

We could get a calculator out to figure this out, but this will give us some value which tells us how many standard deviations away from 0.08 is 0.11. Then we could use a z-table to find the probability of getting that far or further from the true proportion.

That will give us our p-value, which we can compare to the significance level. Sometimes, you will see a formula that looks something like this: you say, "Hey, look, you have your sample proportion. You find the difference between that and the assumed proportion in the null hypothesis."

That's what this little zero says, that this is the assumed population proportion from the null hypothesis. You divide that by the standard deviation—the assumed standard deviation of the sampling distribution of the sample proportions.

So, that would be our assumed population proportion times 1 minus our assumed population proportion divided by our sample size. In future videos, we're going to go all the way, calculate this, then look it up in a z-table and see what's the probability of getting that extreme or more extreme of a result and compare it to alpha.

More Articles

View All
Rainforests 101 | National Geographic
(Birds chirping) - [Narrator] Shrouded in a blanket of clouds, they awaken. Their canopies of green glitter in the sun. Their wildlife start to slither. (Snake hissing) - Chirp. (Birds chirping) - And growl. (Growling) - And one of the planet’s richest ec…
Translations: description to algebraic rule | Grade 8 (TX) | Khan Academy
We’re told Alicia translated quadrilateral PQRS four units to the left and three units up to create quadrilateral A’ B’ C’ D’. Write a rule to describe this transformation. So pause this video, have a go at it, and then we’ll do it together. All right, …
Harvesting Wild Honey in the Amazon | Primal Survivor: Escape the Amazon | National Geographic
[Music] Up there is pure energy in its raw sporum. That’s exactly what I need: wild honey, a nutritious calorie-packed hit of energy. It’s pretty special stuff, but getting it is never easy. Oh, I’m getting stung all over! I just keep getting nailed by b…
Pros and Cons of Stocks vs Real Estate: Is one better than the other?
What’s up you guys? It’s Graham here. This is a question I get asked a lot: Is it better to invest your money in the stock market or put your money in real estate? This is a topic that people get so opinionated over. Some people, they love the ease and th…
Estimating division that results in non whole numbers
So let’s think about something a little bit. What do you think 17 divided by 2 is going to be? Well, you might immediately realize that it’s not obvious what you need to multiply 2 by in order to get to 17. There’s no whole number that I could put here th…
Analyzing vertical asymptotes of rational functions | High School Math | Khan Academy
We’re as to describe the behavior of the function Q around its vertical asymptote at x = -3. Like always, if you’re familiar with this, I encourage you to pause it and see if you can get some practice. If you’re not, well, I’m about to do it with you. Al…