Answer:
So the p value is higher than any significance level given, so then we can conclude that we FAIL to reject the null hypothesis that the difference mean between Drug A and Drug B is equal to 0.
Explanation:
Data given
1 2 3 4 5 6 7
Drug A 6 3 4 5 7 1 4
Drug B 5 1 5 5 5 2 2
A paired t-test is used to compare two population means where you have two samples in which observations in one sample can be paired with observations in the other sample. For example if we have Before-and-after observations (This problem) we can use it.
Let put some notation
x=test value for A , y = test value for B
The system of hypothesis for this case are:
Null hypothesis:
Alternative hypothesis:
The first step is calculate the difference
and we obtain this:
d: -1, -2, 1, 0, -2, 1, -2
The second step is calculate the mean difference
The third step would be calculate the standard deviation for the differences, and we got:
The 4 step is calculate the statistic given by :
The next step is calculate the degrees of freedom given by:
Now we can calculate the p value, since we have a two tailed test the p value is given by:
So the p value is higher than any significance level given, so then we can conclude that we FAIL to reject the null hypothesis that the difference mean between Drug A and Drug B is equal to 0.