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
Moderating content with logical operators | Intro to CS - Python | Khan Academy
Let’s design a program with compound Boolean expressions. We’re working on an automated content moderation system for our site. We want our system to automatically flag posts that seem questionable so our team can investigate further and decide which one…
Can you buy a jet with cash?
Has anyone tried to offer to buy a jet for cash? In the early days, did you sell? I did have one instance. A twin turboprop airplane, and he wanted to lease it for a year. It was so funny because we were going to see the airplane with this guy. He was t…
A capacitor integrates current
So now I have my two capacitor equations; the two forms of the equation. One is I in terms of V, and the other is V in terms of I. We’re going to basically look at this equation here and do a little exercise with it to see how it works. I’m going to draw…
The Ponzi Factor: Banned on Quora
The first fallacy, when I believe the most fundamental falsehood that leads to other false ideas, is the notion that stocks are equity instruments that represent ownership. Finance professionals will argue the stock market can’t be a Ponzi scheme because …
Henderson–Hasselbalch equation | Acids and bases | AP Chemistry | Khan Academy
The Henderson-Hasselbalch equation is an equation that’s often used to calculate the pH of buffer solutions. Buffers consist of a weak acid and its conjugate base. So, for a generic weak acid, we could call that HA, and therefore its conjugate base would …
Climate Change and the Migrant Crisis | Years of Living Dangerously
Nice to meet you. How big is this European migration crisis? Down, it’s big, and it’s getting bigger. We’re doing a story on the impacts of climate change on migration. Many of the people are fleeing conflicts; we just couldn’t believe that some weren’t …