Answer:
a)
So the p values is lower than the significance level given 0.05, so then we can conclude that we reject the null hypothesis.
b) The p value is illustrated on the figure attached.
If we select we see that so then we have enough evidence to FAIL to reject the null hypothesis.
Step-by-step explanation:
Part a
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
1=test value old , 2 = test value new
1: 5.2 6.5 7.2 5.7 7.6
2: 6.4 7.8 6.8 6.5 8.2
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.3, -0.4, 0.8, 0.6
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 right tailed test the p value is given by:
So the p values is lower than the significance level given 0.05, so then we can conclude that we reject the null hypothesis.
Part b
The p value is illustrated on the figure attached.
If we select we see that so then we have enough evidence to FAIL to reject the null hypothesis.