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
Dalton Caldwell - All About Pivoting
How’s everybody doing? I’m Dalton. I’m a partner at Y Combinator. Um, in addition, I’m the head of admissions, um, which is our selection process for the companies that get into YC. I am here to talk about pivoting. Um, yeah, let’s talk all about pivoting…
Why your ego is (slowly) ruining your life
This video is sponsored by Squarespace. Almost every single self-improvement YouTuber, self-improvement book, and motivational speaker will tell you how important it is to have confidence. Confidence in yourself, confidence in everything that you do. They…
Why I Cancelled Robinhood
What’s up, Graham? It’s guys here. So, how would you like to double your money by, uh, this time tomorrow? Well, if that’s the case, ignore Warren Buffett, throw all the conventional investing wisdom out the window, and instead look no further than Reddit…
The Most Important Personality Trait You Need to Build
Pay attention! Okay, because this fact will blow your mind. Did you know that 99.9% of all the species that have ever lived on Earth are now extinct? So, how about the 0.01% that survived? Well, a key factor that determined their survival was their abilit…
Surviving the Night When You’re Stuck on the Trail | Get Out: A Guide to Adventure
Hi, my name is Timmy O’Neal, and I’m a climber and a kayaker, and we’re gonna be talking about how to pull an all-nighter. People wind up being stranded in the backcountry overnight when they get lost or they underestimate the amount of time that it’s go…
Danny Trejo Ziplines Down a Cliff | Running Wild with Bear Grylls
Soon your weight is going to come onto your rope above you. Keep walking it back. OK, and now just enjoy the ride. Here you go. Keep pulling back. Try and get your feet down when you can, Danny. Whoa! Uh! Ahh! Ah. OK, we need to move fast. [bleep] I’m c…