In: Statistics and Probability
Assume that z is the test statistic.
(a) Ho: μ = 22.5,
Ha: μ > 22.5; x = 25.5,
σ = 5.2, n = 23
(i) Calculate the test statistic z. (Give your answer
correct to two decimal places.)
(ii) Calculate the p-value. (Give your answer correct to
four decimal places.)
(b) Ho: μ = 200,
Ha: μ < 200; x = 192.4,
σ = 39, n = 32
(i) Calculate the test statistic z. (Give your answer
correct to two decimal places.)
(ii) Calculate the p-value. (Give your answer correct to
four decimal places.)
(c) Ho: μ = 12.4,
Ha: μ 12.4; x =
11.4, σ = 5, n = 20
(i) Calculate the test statistic z. (Give your answer
correct to two decimal places.)
(ii) Calculate the p-value. (Give your answer correct to
four decimal places.)
Solution :
a) Given that
n = 23
This is the right tailed test .
The null and alternative hypothesis is ,
Test statistic = z
= 2.77
Test statistic = z = 2.77
P(z > 2.77 ) = 1 - P(z < 2.77 ) = 1 -0.9972
P-value =0.0028
b) Given that
n = 32
This is the left tailed test .
The null and alternative hypothesis is ,
Test statistic = z
= -1.10
Test statistic = z = -1.10
P-value =0.1357
c) Given that
n = 20
This is the two tailed test .
The null and alternative hypothesis is ,
Test statistic = z
= -0.89
Test statistic = z =-0.89
P(z < -0.89 ) = 0.1867
P-value = 2 * 0.1867 = 0.3734