8 (a) Null hypothesis: m1≤m2
Alternative hypothesis: m1>m2
Since both sample sizes are greater than 30, we can use Z-score
According to the form of the null hypoyhesis, we should use right-tailed test
P(Z>Zcr)=0.05⟹Zcr=1.645
The test value is:
Ztest=(n1s21+n2s22)(x1−x2)=1501282+150542412−405=11.37=0.62
There is not enoughg evidencve to reject null hypothesis on th 0.05 significance level, so m1
is not greater than m2
(b) Now s1 = 31 and s2 = 16, which means our test statistic would be
Ztest=(n1s21+n2s22)(x1−x2)=150312+150162412−405=2.857=2.456
There is enoughg evidencve to reject null hypothesis on th 0.05 significance level, so m1
is greater than m2
9 (a) The difference between two sample means with 95% confidence is
a∈((x1−x2)−Cr0.95∗(n1s21+n2s22);(x1−x2)+Cr0.95∗(n1s21+n2s22))
Since we have small sample sizes, then it is appropriate to use t-statistic(two-tailed) with n - 1 degrees of freedom
P(T(24)>Cr0.95)=0.025⟹Cr=2.063
(x1−x2)∗Cr0.95∗(n1s21+n2s22))=(55−2.063∗38.2;55+2.063∗38.2)=(−23.8;133.8)
(-23.8;133.8) is the 95% confidence interval
(b) for s1 = 255 and s2 = 260 we have
(x1−x2)∗Cr0.95∗(n1s21+n2s22))=(55−2.063∗72.84;55+2.063∗72.84)=(−95.27;205.29)
(-95.27;205.29) is tha 95% confidence interval
Comments