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

Sampling distribution of the difference in sample proportions -Probability example


3m read
·Nov 10, 2024

In a previous video, we explored the sampling distribution that we got when we took the difference between sample proportions. In that video, we described the distribution in terms of its mean, standard deviation, and shape. What we're going to do in this video is build on that example and try to answer a little bit more about it.

So, in this situation, what we want to do is find the probability, given that we already know about this sampling distribution's mean, standard deviation, and shape. We want to find the probability that the sample proportion of defects from plant B is greater than the sample proportion from plant A. So pause this video and see if you can figure this out.

All right, now let's do this together. So, first of all, let's just interpret what this is: the probability that the sample proportion of defects from plant B is greater than the sample proportion from plant A. If the sample proportion from plant B is greater than the proportion from plant A, then the difference between the sample proportions is going to be negative.

So, this is equivalent to the probability that the difference of the sample proportions—so the sample proportion from A minus the sample proportion from B—is going to be less than zero. Another way to think about it: that's going to be this area right over here.

Now, there are a bunch of ways that we can figure out this area, but the easiest—or one of the easiest, I guess, there are many different ways to do it—is to figure out how many, up to and including, how many standard deviations below the mean this is. Then we could use a z-table.

So, what we just have to do is figure out what the z value is here. And the z value here, we just have to say, “Well, how many standard deviations below the mean is this?” I'll do it up here, let me square this off so I don't make it too messy.

Z is going to be equal to... So, we are negative 0.02 from the mean or we're 0.02 to the left of the mean. So, I'll just do negative 0.02 and then over the standard deviation, which is 0.025. This is going to be equal to... Get a calculator here. We get 0.02 divided by 0.025, which is equal to that. And we are, of course, going to be to the left of the mean, so our z is going to be approximately negative 0.8.

I'm saying approximately because this was approximate over here when we figured out the standard deviation. So, it is negative 0.8, and then we just have to use a z lookup table. If we look at a z lookup table, what we see here is, if we're going to negative 0.8, negative 0.8 is right over here.

So, negative 0.8, and then we have zeros after that. So, we're looking at this right over here: the area under the normal curve up to and including that z value. We always have to make sure that we're looking at the right thing on this standard normal probabilities table right over here.

That gives us 0.21, or we could say this is approximately 21. So, let me get rid of this. And so, we know that this right over here is approximately 21, or we could say 0.21.

So, the probability of the sample proportion of defects from plant B being greater than the sample proportion from plant A is, give or take, roughly one in five.

More Articles

View All
Help support Khan Academy
Hi everyone, Sal Khan here from Khan Academy, and I just wanted to remind you that we are a not-for-profit, and we can only exist through donations from folks like yourself. Our goal is for everyone to reach their potential. Potential is everywhere; unfo…
15 Money Secrets You Learn at Disneyland
If you grew up poor, you probably never went to Disneyland. Or maybe that was just us. It wasn’t even something our parents knew was a thing. So when we became adults, we decided it was time to change that. Earlier this week, it was the first time we went…
Vidit Aatrey on Building Meesho, India's Top Reselling Platform, with Adora Cheung
This is a door from YC. I’m excited to have a detox light CEO and co-founder of Meesho, which was founded in 2015, and you went through YC in 2016. So today, Meesho is probably one of the hottest startups in India, if not the hottest startup, and I’m supe…
One Good Tuna Deserves Another | Wicked Tuna
Get this guy over there! It’s pitch black. We got our anchor line out and so to a bunch of other boats around us. We got to make sure that our fish doesn’t come in contact with any of the other anchor lines in the water or it will be a huge paycheck. This…
Example question calculating CPI and inflation | AP Macroeconomics | Khan Academy
The CPI, or Consumer Price Index, is used to measure the cost of a typical basket of goods the typical household in the nation of Jacksonia buys. Four loaves of bread, three pounds of cream cheese, and eight books are purchased each week. The prices of th…
Cracking the Enigma of Ollama Templates
In olama, the template and parameters and maybe the system prompt and license are all part of the model. This is one of the strengths of the platform and it’s why it’s the easiest to use for beginners and advanced users alike. Every other tool that runs A…