Respuesta :
Answer:
[tex]t=\frac{(162-156)-0}{\sqrt{\frac{41^2}{22}+\frac{36^2}{20}}}}=0.505[/tex]
[tex]p_v =2*P(t_{40}>0.505)=0.61633[/tex]
Comparing the p value with the significance level [tex]\alpha=0.05[/tex] we see that [tex]p_v>\alpha[/tex] so we can conclude that we have enough evidence to FAIL to reject the null hypothesis, then the difference between the two groups is NOT significantly different.
Step-by-step explanation:
Data given and notation
[tex]\bar X_{1}=162[/tex] represent the mean for sample of clinic attendees
[tex]\bar X_{2}=156[/tex] represent the mean for the sister city
[tex]s_{1}=41[/tex] represent the sample standard deviation for 1
[tex]s_{2}=36[/tex] represent the sample standard deviation for 2
[tex]n_{1}=22[/tex] sample size for the group 2
[tex]n_{2}=20[/tex] sample size for the group 2
[tex]\alpha=0.05[/tex] Significance level provided
t would represent the statistic (variable of interest)
Concepts and formulas to use
We need to conduct a hypothesis in order to check if the difference in the population means, the system of hypothesis would be:
Null hypothesis:[tex]\mu_{1}-\mu_{2}=0[/tex]
Alternative hypothesis:[tex]\mu_{1} - \mu_{2}\neq 0[/tex]
We don't have the population standard deviation's, so for this case is better apply a t test to compare means, and the statistic is given by:
[tex]t=\frac{(\bar X_{1}-\bar X_{2})-\Delta}{\sqrt{\frac{\sigma^2_{1}}{n_{1}}+\frac{\sigma^2_{2}}{n_{2}}}}[/tex] (1)
And the degrees of freedom are given by [tex]df=n_1 +n_2 -2=22+20-2=40[/tex]
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.
With the info given we can replace in formula (1) like this:
[tex]t=\frac{(162-156)-0}{\sqrt{\frac{41^2}{22}+\frac{36^2}{20}}}}=0.505[/tex]
P value
Since is a bilateral test the p value would be:
[tex]p_v =2*P(t_{40}>0.505)=0.61633[/tex]
Comparing the p value with the significance level [tex]\alpha=0.05[/tex] we see that [tex]p_v>\alpha[/tex] so we can conclude that we have enough evidence to FAIL to reject the null hypothesis, then the difference between the two groups is NOT significantly different.