In: Statistics and Probability
Group |
n |
Sample mean |
Sample Standard Dev. |
Stress |
20 |
26 |
13.4 |
No stress |
51 |
32 |
14.2 |
GIVEN:
Sample size of group (Stress) 1
Sample size of group (No Stress) 2
Sample mean of group (Stress) 1
Sample mean of group (No Stress) 2
Sample standard deviation of group (Stress) 1
Sample standard deviation of group (No Stress) 2
I have used two independent sample t test with unequal variance to test the claim that stress effects weight. (That is, the average weight gain for stress group is more than the no stress group.)
HYPOTHESIS:
The hypothesis is given by,
(That is, the average weight gain for stress group is more than the average weight gain for the non stress group.)
(That is, the average weight gain for stress group is less than the average weight gain for the non stress group.)
LEVEL OF SIGNIFICANCE:
TEST STATISTIC:
which follows t distribution with degrees of freedom.
where the hypothesized value
CALCULATION:
CRITICAL VALUE:
The one tailed (since ) t critical value with degrees of freedom at significance level is .
DECISION RULE:
INFERENCE:
Since the t test statistic value (-1.39) is less than the t critical value (-1.294), we fail to reject null hypothesis and conclude that the average weight gain for stress group is more than the average weight gain for the non stress group. Thus the stress effects weight.