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
Stoichiometry: mass-to-mass and limiting reagent | Chemistry | Khan Academy
Let’s solve a cool stoichiometry problem. Consider the chemical reaction where we have propane that burns with oxygen, giving us water and carbon dioxide. Okay, now if you’re conducting this reaction, our question is how much propane in grams is needed to…
Let Us Not Talk Falsely Now
Great! Welcome everyone. The format here is pretty simple. I’m just gonna bring people up, you get to ask a question, and then I’m gonna bounce you back to the audience, and then I’ll discuss that question. Unfortunately, I’ve found that other formats jus…
Suhail Doshi - How to Measure Your Product
We are very grateful to have Suhail from Mixpanel, who co-founded Mixpanel almost 10 years ago now and is going to talk about how to measure your product, which, as you heard from Gustav, is really the other side of the coin of growth and everything that …
An Infinite Dilemma of Bliss and Suffering
Imagine a universe filled with an infinite number of immortal people living in Bliss. They love it; it is awesome. But each day, one of them is removed and sent away to a separate Universe of suffering forever. Now, imagine a different Universe filled wi…
3D Home Printing for the Developing World – Alexandria Lafci and Brett Hagler of New Story Charity
How about we start with you guys explaining what you do, and then we’ll go back in time and talk about how you ended up doing YC and all the rest of it. Also, sure! So, we’re a nonprofit, one of the first ones to go through Y Combinator, and we build hou…
Khan Stories: Anjali
My name is Anjali. My father is a car mechanic, and my mother is a housewife. Vishal, the background which these students come from is very challenging. So the need for a center was to provide an environment which was conducive to academics. I used to f…