0:00
We have two commercials.
00:01
We have commercial a and we have commercial b.
00:05
And commercial a, we had 63 out of 150 people who saw the commercial, recalled the details.
00:14
So now i'll call that proportion, p hat for a.
00:17
63 out 150 people recalled the message of a commercial after a week of having had seen the commercial.
00:27
And those for b, there was a sample size of 200, of which 60 of those people recalled the message for commercial b.
00:38
And we want to know, do we have evidence that there is, whether there is a difference between these two proportions? so we would be assuming that the proportion of a is equal to the proportion of b.
00:53
And alternately, we just want to find if there's a difference.
00:55
So we would have it be a, whoops, that should be a, not equal to.
01:02
So we're doing a two -tailed test.
01:05
And let's just get the decimal.
01:06
I know what this decimal is.
01:07
This is 0 .3, dividing top and bottom by 2, but 63 divided by 150.
01:13
Let's see what that is.
01:14
Helps to turn the calculator on my goodness.
01:17
That is 42%.
01:18
All right.
01:20
So we want to find, do we have evidence at a 5 % significance level, whether there's a difference here.
01:27
So picture -wise, think what we're doing.
01:30
We are assuming that the difference between the two proportions, i'll say pa minus pb, we're assuming it's equal to zero.
01:39
Now, we can definitely see that the difference is not zero.
01:43
We're getting a difference of like 12%.
01:46
And because we're doing a two -tail test, this difference is considered just as likely as symmetrically on the other side, a difference the opposite way.
01:57
So that's what we want to find.
01:59
We want to find what these two areas are together to be our p value.
02:05
Okay, and we need to find our test statistics.
02:08
So our test statistic is going to be a z, and we're going to take the difference between the two, so 0 .42 minus 0 .3, and then we have to find the pooled p, and i'm just going to call that good old p half.
02:21
And the pooled p is 123.
02:26
Over and the sum of these two is 350.
02:31
So our test statistic is going to be the pooled p and then one minus the pooled p, which looks like that's going to be 227 over 350.
02:48
So again, if i double check, 350 minus the 123.
02:52
Yep, that's 227 over that.
02:54
So pooled p, 1 minus pooled p, and then times one over the sample size plus one over the sample size.
03:02
And that will be our test statistic...