Answer:
a) If we compare the p value and the significance level given
we see that
so we can conclude that we have enough evidence to reject the null hypothesis, so we can't conclude that the true mean is still equal to 24 at 5% of significance.
b) Power =0.48994+0.0000501=0.490
Explanation:
Part a
Data given and notation
represent the sample mean
represent the sample standard deviation
sample size
represent the value that we want to test
represent the significance level for the hypothesis test.
t would represent the statistic (variable of interest)
represent the p value for the test (variable of interest)
State the null and alternative hypotheses.
We need to conduct a hypothesis in order to check if the mean is still equal to 24, the system of hypothesis would be:
Null hypothesis:
Alternative hypothesis:
If we analyze the size for the sample is > 30 but we don't know the population deviation so is better apply a t test to compare the actual mean to the reference value, and the statistic is given by:
(1)
t-test: "Is used to compare group means. Is one of the most common tests and is used to determine if the mean is (higher, less or not equal) to an specified value".
Calculate the statistic
We can replace in formula (1) the info given like this:
P-value
The first step is calculate the degrees of freedom, on this case:
Since is a bilateral test the p value would be:
Conclusion
If we compare the p value and the significance level given
we see that
so we can conclude that we have enough evidence to reject the null hypothesis, so we can't conclude that the true mean is still equal to 24 at 5% of significance.
Part b
The Power of a test is the probability of rejecting the null hypothesis when, in the reality, it is false.
For this case the power of the test would be:
P(reject null hypothesis|
)
If we see the nul hypothesis we reject it when we have this:
The critical values from the normal standard distribution at 5% of significance are -1.96 and 1.96. From the z score formula:
![z=(\bar x-\mu)/((s)/(√(n)))](https://img.qammunity.org/2020/formulas/mathematics/college/k9uev8kkojtahkdf9a4c9aomi96ly8obp1.png)
And if we solve for
we got:
![\bar X= \mu \pm z (s)/(√(n))](https://img.qammunity.org/2020/formulas/mathematics/college/jgmizmz4mhurd25gwbss2yp2y8w99qth5f.png)
Using the two critical values we have the critical values four our sampling distribution under the null hypothesis
![\bar X= 24 -1.96 (3.1)/(√(36))=22.987](https://img.qammunity.org/2020/formulas/mathematics/college/xk07wx4by6rn50pevcq4un8cstgci4ofgq.png)
![\bar X= 24 +1.96 (3.1)/(√(36))=25.012](https://img.qammunity.org/2020/formulas/mathematics/college/v7qsti75hqxz7qra4twiif9bee5je29jhx.png)
So we reject the null hypothesis if
or
![\bar X >25.012](https://img.qammunity.org/2020/formulas/mathematics/college/wzp0nny75jugfdk0qqvglu5g6wqad2dbc5.png)
So for our case:
P(reject null hypothesis|
) can be founded like this:
![P(\bar X <22.987|\mu=23)=P(z<(22.987-23)/((3.1)/(√(36))))=P(Z<-0.0251)=0.48994](https://img.qammunity.org/2020/formulas/mathematics/college/5bxgy3iw1gts479rd6dqxxpj6t1y6i6rhg.png)
![P(\bar X >25.012|\mu=23)=P(z<(25.012-23)/((3.1)/(√(36))))=P(Z>3.89)=0.0000501](https://img.qammunity.org/2020/formulas/mathematics/college/3kaxghyso86i8vad8wxme88xv0kg3hkkrj.png)
And the power on this case would be the sum of the two last probabilities:
Power =0.48994+0.0000501=0.490