Answer:
Since is a one sided test the p value would be:
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, and we can conclude that the mean for elementary school teachers is significantly higher than the mean for secondary teachers at 5% of significance
Step-by-step explanation:
Data given and notation
represent the mean of elementary teachers
represent the mean for secondary teachers
represent the sample standard deviation for elementary teacher
represent the sample standard deviation for secondary teachers
sample size selected
sample size selected
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 of the salaries of elementary school teachers is greater than the mean of the salaries of secondary school teachers, the system of hypothesis would be:
Null hypothesis:
Alternative hypothesis:
We don't know the population deviations, so for this case is better apply a t 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".
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 one sided 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, and we can conclude that the mean for elementary school teachers is significantly higher than the mean for secondary teachers at 5% of significance