Respuesta :
Answer:
Null hypothesis:[tex]\mu_{1}-\mu_{0}\leq 0[/tex]
Alternative hypothesis:[tex]\mu_{1}-\mu_{2}>0[/tex]
[tex]SE=\sqrt{\frac{12.5^2}{35}+\frac{9.25^2}{30}}=2.705[/tex]
b) 2.70
[tex]t=\frac{(164-159)-0}{\sqrt{\frac{12.5^2}{35}+\frac{9.25^2}{30}}}=1.850[/tex]
b. 1.85
[tex]p_v =P(Z>1.85)=0.032[/tex]
b. 0.03
a. We can reject H(0) in favor of H(a)
Step-by-step explanation:
Data given and notation
[tex]\bar X_{1}=164[/tex] represent the mean for the sample 1
[tex]\bar X_{2}=159[/tex] represent the mean for the sample 2
[tex]\sigma_{1}=12.5[/tex] represent the population standard deviation for the sample 1
[tex]s_{2}=9.25[/tex] represent the population standard deviation for the sample B2
[tex]n_{1}=35[/tex] sample size selected 1
[tex]n_{2}=30[/tex] sample size selected 2
[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 expenditure of households in City 1 is more than that of households in City 2, the system of hypothesis would be:
Null hypothesis:[tex]\mu_{1}-\mu_{0}\leq 0[/tex]
Alternative hypothesis:[tex]\mu_{1}-\mu_{2}>0[/tex]
We know the population deviations, so for this case is better apply a z test to compare means, and the statistic is given by:
[tex]z=\frac{(\bar X_{1}-\bar X_{2})-0}{\sqrt{\frac{\sigma^2_{1}}{n_{1}}+\frac{\sigma^2_{2}}{n_{2}}}}[/tex] (1)
t-test: "Is used to compare group means. Is one of the most common tests and is used to determine whether the means of two groups are equal to each other".
Standard error
The standard error on this case is given by:
[tex]SE=\sqrt{\frac{s^2_{1}}{n_{1}}+\frac{s^2_{2}}{n_{2}}}[/tex]
Replacing the values that we have we got:
[tex]SE=\sqrt{\frac{12.5^2}{35}+\frac{9.25^2}{30}}=2.705[/tex]
b. 2.70
Calculate the statistic
We can replace in formula (1) the info given like this:
[tex]t=\frac{(164-159)-0}{\sqrt{\frac{12.5^2}{35}+\frac{9.25^2}{30}}}=1.850[/tex]
P-value
Since is a one side right tailed test the p value would be:
[tex]p_v =P(Z>1.85)=0.032[/tex]
b. 0.03
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.
a. We can reject H(0) in favor of H(a)