00:01
All right, so we have that for our null hypothesis here for part a is going to be that p1 is less than or equal to p2.
00:12
So this would mean that the sustained care is not more effective.
00:16
And then we have the alternative hypothesis that p1 is greater than p2, which would mean that the sustained care is more effective.
00:24
This is going to be a right -tail test.
00:27
Now, for our sample proportion, we have p -hat is going to be equal to take 51 plus 30 so 81 divided by 198 plus 199 so divided by 397 which is approximately 0 .204 and then for our standard error that's going to be equal to the square root of p hat times 1 minus p hat times 1 over n1 plus 1 over n2 all right which is going to be um so it's a square root of 0 .204 times 0 .796 and then that's times 1 over 198 plus 1 over 199 all under a square root and that should be approximately 0 .043.
01:17
So then for our test statistic, z is going to be p hat, p1 hat minus p2 hat.
01:25
So 0 .2576 minus 0 .1508, all divided by the standard error of 0 .043, giving us approximately 2 .49.
01:41
And then the corresponding p value, using the standard normal distribution, we want the probability of z being greater than 2 .49.
01:51
And that's going to be approximately our p value is going to be 0 .0064, and that is greater than alpha, greater than alpha being 0 .001.
02:12
So therefore, we fail to reject the null hypothesis...