Respuesta :
Answer:
[tex]t=\frac{(48250-45630)}{\sqrt{\frac{3900^2}{26}+\frac{5530^2}{24}}}}=1.921[/tex]
[tex]df=n_{A}+n_{B}-2=26+24-2=48[/tex]
Since is a one sided test the p value would be:
[tex]p_v =P(t_{(48)}>1.921)=0.0303[/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, 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
[tex]\bar X_{A}=48250[/tex] represent the mean of elementary teachers
[tex]\bar X_{B}=45630[/tex] represent the mean for secondary teachers
[tex]s_{A}=3900[/tex] represent the sample standard deviation for elementary teacher
[tex]s_{B}=5530[/tex] represent the sample standard deviation for secondary teachers
[tex]n_{A}=26[/tex] sample size selected
[tex]n_{B}=24[/tex] sample size selected
[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 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:[tex]\mu_{A}-\mu_{B}\leq 0[/tex]
Alternative hypothesis:[tex]\mu_{A}-\mu_{B}>0[/tex]
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:
[tex]t=\frac{(\bar X_{A}-\bar X_{B})}{\sqrt{\frac{s^2_{A}}{n_{A}}+\frac{s^2_{B}}{n_{B}}}}[/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".
Calculate the statistic
We can replace in formula (1) the info given like this:
[tex]t=\frac{(48250-45630)}{\sqrt{\frac{3900^2}{26}+\frac{5530^2}{24}}}}=1.921[/tex]
P-value
The first step is calculate the degrees of freedom, on this case:
[tex]df=n_{A}+n_{B}-2=26+24-2=48[/tex]
Since is a one sided test the p value would be:
[tex]p_v =P(t_{(48)}>1.921)=0.0303[/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, and we can conclude that the mean for elementary school teachers is significantly higher than the mean for secondary teachers at 5% of significance