Answer:
Null hypothesis:
Alternative hypothesis:
Reject H0: stress affects the menstrual cycle
Explanation:
The statistic is given by the following formula:
Where t follows a t distribution with
degrees of freedom
The system of hypothesis on this case are:
Null hypothesis:
Alternative hypothesis:
Or equivalently:
Null hypothesis:
Alternative hypothesis:
Our notation on this case :
represent the sample size for group 1
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:
represent the sample mean for the group 1
represent the sample mean for the group 2
represent the sample standard deviation for group 1
represent the sample standard deviation for group 2
And now we can calculate the statistic:
Now we can calculate the degrees of freedom given by:
Now we can calculate the critical value since the confidence is 95% the value for the significance would be
and the value for
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
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