Answer:
Null hypothesis:
Alternative hypothesis:
b) 2.70
b. 1.85
b. 0.03
a. We can reject H(0) in favor of H(a)
Step-by-step explanation:
Data given and notation
represent the mean for the sample 1
represent the mean for the sample 2
represent the population standard deviation for the sample 1
represent the population standard deviation for the sample B2
sample size selected 1
sample size selected 2
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 expenditure of households in City 1 is more than that of households in City 2, the system of hypothesis would be:
Null hypothesis:
Alternative hypothesis:
We know the population deviations, so for this case is better apply a z test to compare means, 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 whether the means of two groups are equal to each other".
Standard error
The standard error on this case is given by:
Replacing the values that we have we got:
b. 2.70
Calculate the statistic
We can replace in formula (1) the info given like this:
P-value
Since is a one side right tailed test the p value would be:
b. 0.03
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.
a. We can reject H(0) in favor of H(a)