Respuesta :
Answer:
Null hypothesis: [tex]\mu_1 = \mu_2[/tex]
Alternative hypothesis: [tex]\mu_1 \neq \mu_2[/tex]
[tex]t=\frac{(20.4 -27.6)-(0)}{\sqrt{\frac{2.074^2}{5}}+\frac{2.702^2}{5}}=-4.73[/tex]
[tex]df=5+5-2=8[/tex]
[tex]t_{crit}=\pm 2.306[/tex]
Reject H0: stress affects the menstrual cycle
Step-by-step explanation:
The statistic is given by the following formula:
[tex]t=\frac{(\bar X_1 -\bar X_2)-(\mu_{1}-\mu_2)}{\sqrt{\frac{s^2_1}{n_1}}+\frac{s^2_2}{n_2}}[/tex]
Where t follows a t distribution with [tex]n_1+n_2 -2[/tex] degrees of freedom
The system of hypothesis on this case are:
Null hypothesis: [tex]\mu_1 = \mu_2[/tex]
Alternative hypothesis: [tex]\mu_1 \neq \mu_2[/tex]
Or equivalently:
Null hypothesis: [tex]\mu_1 - \mu_2 = 0[/tex]
Alternative hypothesis: [tex]\mu_1 -\mu_2 \neq 0[/tex]
Our notation on this case :
[tex]n_1 =5[/tex] represent the sample size for group 1
[tex]n_2 =2[/tex] represent the sample size for group 2
Tha data given is:
Group 1 (High stress) : 20,23,18,19,22
Group 2 (Relatively stress free): 26,31,25,26,30
We can calculate the sample mean and the sample deviation with the following formulas:
[tex]\bar X =\frac{\sum_{i=1}^n x_i}{n}[/tex]
[tex]s=\sqrt{\frac{\sum_{i=1}^n (x_i -\bar X)^2}{n-1}}[/tex]
[tex]\bar X_1 =20.4[/tex] represent the sample mean for the group 1
[tex]\bar X_2 =27.6[/tex] represent the sample mean for the group 2
[tex]s_1=2.074[/tex] represent the sample standard deviation for group 1
[tex]s_2=2.702[/tex] represent the sample standard deviation for group 2
And now we can calculate the statistic:
[tex]t=\frac{(20.4 -27.6)-(0)}{\sqrt{\frac{2.074^2}{5}}+\frac{2.702^2}{5}}=-4.73[/tex]
Now we can calculate the degrees of freedom given by:
[tex]df=5+5-2=8[/tex]
Now we can calculate the critical value since the confidence is 95% the value for the significance would be [tex]\alpha=1-0.95=0.05[/tex] and the value for [tex]\alpha/2 =0.025[/tex] and if we find a critical value on th t distribution with 8 degrees of freedom that accumulates 0.025 of the area on each tail we got [tex]t_{crit}=\pm 2.306[/tex]
Since our calculated value is lower than the critical value, we have enough evidence to reject the null hypothesis. And makes sense say that the difference between the two means are different at 5% of significance.
Reject H0: stress affects the menstrual cycle