00:01
Hello, let's have a look on the question.
00:02
Two samples are given to us.
00:04
For the first one, sample size is 150, mean x1 is 47.
00:10
So for this we can find out the value of p1, that is x1 by n1, which is 47 by 150, that is 0 .31.
00:19
This is the first data set.
00:21
Next we have n2 is equal to 1 ,000 and x2 is equal to 291.
00:27
For this, we can find out p2, x2, x2, x2.
00:30
X2 by n2 that is 291 by thousand so this will be equal to 0 .291 now null hypothesis and alternative hypothesis so for null hypothesis and alternative hypothesis we have for null p1 minus p2 is equal to 0 and for alternative p1 minus p2 is not equal to 0 now we need to find out test statistics for both the cases that is z is equal to p1 minus p2 divided by under root of p q multiplied by 1 upon n1 plus 1 upon n2 so p here is equal to x1 plus x2 by n1 plus n2 so this value will be equal to 0 .29 and q is equal to 1 minus p that is 1 minus 0 .29 which is equal to 0 .71 this is the value of q now we need to find out the value of z that is 0 .31 minus 0 .29 divided by under root of 0 .29 multiplied by 0 .71.
01:43
This will be 1 upon 150 plus 1 upon 1 ,000...