Data for the ages of grooms and their brides for a random sa
Solution
a)
Xgroom = 27.77419355
Xbride = 25.5483871
*********************
Let ud = u2 - u1.
Formulating the null and alternative hypotheses,
Ho: ud = 0
Ha: ud =/= 0 [OPTION E]
*************************
At level of significance = 0.05
As we can see, this is a two tailed test.
Calculating the standard deviation of the differences (third column):
s = 2.642091058
Thus, the standard error of the difference is sD = s/sqrt(n):
sD = 0.474533563
Calculating the mean of the differences (third column):
XD = 2.225806452
As t = [XD - uD]/sD, where uD = the hypothesized difference = 0 , then
t = 4.69051428 = 4.69 [ANSWER, TEST STATISTIC]
**************************
Extra info:
As df = n - 1 = 30
Then the critical value of t is
tcrit = +/- 2.042272456
Thus, comparing t and tcrit, we WE REJECT THE NULL HYPOTHESIS.
Also, using p values,
p = 5.57511E-05
Also, comparing this p to the significance level, WE REJECT THE NULL HYPOTHESIS.
