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

Conditions for confidence intervals worked examples | AP Statistics | Khan Academy


4m read
·Nov 11, 2024

Ali is in charge of the dinner menu for his senior prom, and he wants to use a one sample z interval to estimate what proportion of seniors would order a vegetarian option. He randomly selects 30 of the 150 total seniors and finds that seven of those sampled would order the vegetarian option.

Which conditions for constructing this confidence interval did Ali's sample meet? So pause this video, and you can select more than one of these.

All right, now let's work through this together. So one thing that you might be wondering is, well, what is a one sample z interval? Well, you could really interpret that as he's going to take one sample and then construct a confidence interval based on that. The reason why it might be called a z interval is the whole idea behind a confidence interval is you're going to pick a number of standard deviations above and below the true parameter that you are actually trying to estimate, and then use that to make your inferences.

A one way of thinking about the number of standard deviations people will often call that a z-score, or z is often used as a variable for the number of standard deviations above or below something. So really, he's just trying to construct a confidence interval. But remember, in order to construct a confidence interval, we have to make some assumptions.

He's taking there's 150 students right over here; he's finding it impractical to survey all 150 to figure out the true population proportion. So instead, he samples 30 of the seniors, so n is equal to 30. From that he calculates a sample proportion. It looks like 7 out of the 30 want the vegetarian option, and he's going to determine some confidence level and then construct a confidence interval.

But remember the conditions that we've talked about in previous videos. The first thing is, we have to be confident that is this a random sample? That would be the random condition and that's what choice A is telling us: the data is a random sample from the population of interest. Do we know that? Well, it tells us in the passage here he randomly selects 30 of the total seniors. So I guess we'll take their word for it.

We don't know his methodology of what he considers random, but we'll take their word for it that yes, this has been met; the data is a random random sample. If it said he sampled the football team, well, that would not have been a random sample.

The next condition here looks all mathematical, but this is really the normal condition. The idea behind the normal condition is that in order to construct these confidence intervals, we're assuming that the sampling distribution of the sample proportions is roughly normal, and it is not skewed to the right or skewed to the left like this.

And so right here it says look, the sample size times our sample proportion has to be greater than or equal to 10, or our sample size times 1 minus our sample proportion has to be greater than or equal to 10. Well, another way to think about this is our successes in our sample need to be greater than or equal to 10, and our failures need to be greater than or equal to 10.

Well, how many successes were there? There were 7. And you could even say look, our n is 30 times our sample proportion is 7 over 30, which is going to be 7. So our successes is less than 10.

So actually, we violate the normal condition. Once again, this is a rule of thumb, but this is telling us that our actual sampling distribution might be skewed. Remember, this is just based on one sample; what we're able to figure out, this is one sample z interval we might be wrong, but we wouldn't feel good that we're meeting the normal condition here. So I would rule this one out.

Individual observations can be considered independent. Well, if he randomly selected people with replacement then they could be independent, or if the people he is selecting, his sample size is less than 10% of the total population, then it could be considered independent. Even though it wouldn't be perfectly independent, we see here that he sampled 30 people out of 150.

So his sample size was 30 out of 150, which is the same thing as one-fifth of the population, which is the same thing as 20 percent. Since this is greater than 10 percent, we are violating the independence condition. We could have met the independence condition if he was sampling with replacement, which it doesn't seem like he is, or if this thing right over here was less than 10.

But we're not meeting that, so we cannot feel good about that constraint. Since we're not meeting two of the three constraints for valid confidence intervals or confidence intervals we would feel confident in, this is not so good of an analysis on Ali's part.

More Articles

View All
Black Women and the Suffrage Movement | 100 Years After Women's Suffrage
Good afternoon! I’m Deborah Adam Simmons, Executive Editor for History and Culture at National Geographic. I am thrilled that we will have a conversation this afternoon with historian Martha Jones and writer Michelle Duster about the role of African-Ameri…
Cathie Wood's fund is collapsing | Here's what stocks she owns
Kathy Wood became a household name in 2020 and 2021 by making her investors billions of dollars. She was even able to outperform legendary investor Warren Buffett. Her flagship Arc Innovation fund returned a staggering 152% in 2020. Compare that to Warren…
Private jet expert reacts to Grant Cardone.
Hey, three tips on buying your first jet. Oh, I got to hear this one! You got to be able to afford it. That would probably mean you need to be able to pay for two of them in cash. You got to take a loan to do your first deal? You’re not ready yet. Okay…
Ray Dalio: The Investing Opportunity of a Generation
Yes, crash was negative, right? One and a half, two percent real rates—terrible! Now cash is relatively attractive. Ray Dalio is a billionaire and one of the most highly respected investors in the world. He has been investing for 50 years, meaning he kno…
Calculating neutral velocity | Special relativity | Physics | Khan Academy
All right, we can now do the math to solve for v. So let me just simplify the right-hand side of this equation. v minus negative e? Well, that’s just going to be two v. One minus negative of v squared over c squared? Well, that’s just one plus positive v…
Homeroom with Sal & Pedro Noguera - Wednesday, October 21
Hi everyone, Sal Khan here. Welcome to the Homeroom live stream. We have a really exciting guest today, Pedro Noguera, who is the Dean of the Rossier School of Education at the University of Southern California. So start thinking of your questions, puttin…