In a study on the effects stress on behaviour in rats, 71 rats were randomly assigned to either a stressful environment or a control (non-stressful) environment. After 21 days, the change in weight (in grams) was determined for each rat. The following table summarises the data on weight gain:
1.1 (.8
marks)
|
Calculate the value of the t-statistic to three decimal
places. |
Using the simple method, how many degrees of freedom df does
this t-statistic have? |
Calculate the p-value to three decimal places. |
The psychologist is willing to reject the null hypothesis if the
p-value is less than α = 0.05. |
Now we require you to calculate a (1 − α) ×100 = 95% confidence
interval for the true mean difference between μ1 and
μ2.
|
|
Solution:-
State the hypotheses. The first step is to state the null hypothesis and an alternative hypothesis.
Null hypothesis: u1 = u 2
Alternative hypothesis: u1
u 2
Note that these hypotheses constitute a two-tailed test.
Formulate an analysis plan. For this analysis, the significance level is 0.05 Using sample data, we will conduct a two-sample t-test of the null hypothesis.
Analyze sample data. Using sample data, we compute the standard error (SE), degrees of freedom (DF), and the t statistic test statistic (t).
SE = sqrt[(s12/n1) +
(s22/n2)]
SE = 3.15543
DF = 69
t = [ (x1 - x2) - d ] / SE
t = - 1.77
where s1 is the standard deviation of sample 1, s2 is the standard deviation of sample 2, n1 is the size of sample 1, n2 is the size of sample 2, x1 is the mean of sample 1, x2 is the mean of sample 2, d is the hypothesized difference between the population means, and SE is the standard error.
Since we have a two-tailed test, the P-value is the probability that a t statistic having 69 degrees of freedom is more extreme than -1.77; that is, less than -1.77 or greater than 1.77.
Thus, the P-value = 0.081
Interpret results. Since the P-value (0.081) is greater than the significance level (0.05), we have to accept the null hypothesis.
D.F = 69
α = 0.05
tcritical = + 1.995
C.I = (26.03 - 31.61) + 1.995*3.15543
C.I = - 5.58 + 6.2951
C.I = (- 11.875, - 0.7151)
Yes, the the result from the hypothesis test consistent with the confidence interval, becuase the confidence interval contains 0.
Get Answers For Free
Most questions answered within 1 hours.