Respuesta :
Answer:
a) [tex]t=\frac{22.5-24}{\frac{3.1}{\sqrt{36}}}=-2.903[/tex]
[tex]p_v =2*P(t_{(35)}<-2.903)=0.0064[/tex]
If we compare the p value and the significance level given [tex]\alpha=0.05[/tex] we see that [tex]p_v<\alpha[/tex] 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.4626+0.000172=0.463
See explanation below.
Step-by-step explanation:
Part a
Data given and notation
[tex]\bar X=22.5[/tex] represent the sample mean
[tex]s=3.1[/tex] represent the sample standard deviation
[tex]n=36[/tex] sample size
[tex]\mu_o =24[/tex] represent the value that we want to test
[tex]\alpha=0.05[/tex] represent the significance level for the hypothesis test.
t would represent the statistic (variable of interest)
[tex]p_v[/tex] 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:[tex]\mu = 24[/tex]
Alternative hypothesis:[tex]\mu \neq 24[/tex]
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:
[tex]t=\frac{\bar X-\mu_o}{\frac{s}{\sqrt{n}}}[/tex] (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:
[tex]t=\frac{22.5-24}{\frac{3.1}{\sqrt{36}}}=-2.903[/tex]
P-value
The first step is calculate the degrees of freedom, on this case:
[tex]df=n-1=36-1=35[/tex]
Since is a bilateral test the p value would be:
[tex]p_v =2*P(t_{(35)}<-2.903)=0.0064[/tex]
Conclusion
If we compare the p value and the significance level given [tex]\alpha=0.05[/tex] we see that [tex]p_v<\alpha[/tex] 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| [tex]\mu=23[/tex])
If we see the null hypothesis we reject it when we have this:
The critical values from the t distribution with 35 degrees of freedom and at 5% of significance are -2.03 and 2.03. From the z score formula:
[tex]t=\frac{\bar x-\mu}{\frac{s}{\sqrt{n}}}[/tex]
If we solve for [tex]\bar x[/tex] we got:
[tex]\bar X= \mu \pm t \frac{s}{\sqrt{n}}[/tex]
Using the two critical values we have the critical values four our sampling distribution under the null hypothesis
[tex]\bar X= 24 -2.03 \frac{3.1}{\sqrt{36}}=22.951[/tex]
[tex]\bar X= 24 +2.03 \frac{3.1}{\sqrt{36}}=25.049[/tex]
So we reject the null hypothesis if [tex]\bar x<22.951[/tex] or [tex]\bar X >25.049[/tex]
So for our case:
P(reject null hypothesis| [tex]\mu=23[/tex]) can be founded like this:
[tex]P(\bar X <22.951|\mu=23)=P(t<\frac{22.951-23}{\frac{3.1}{\sqrt{36}}})=P(t_{35}<-0.0948)=0.4626[/tex]
[tex]P(\bar X >25.012|\mu=23)=P(t<\frac{25.049-23}{\frac{3.1}{\sqrt{36}}})=P(t_{35}>3.966)=0.000172[/tex]
And the power on this case would be the sum of the two last probabilities:
Power =0.4626+0.000172=0.463