Answer:
a) This is a paired t-test, in which we test the sample of the difference for each pair.
The requirements are:
- The dependant variable must be continous, as we have to calculate the difference. The dependant variable (time) is continous.
- The observations are independent of each other. Although it is not explicitly written, we assumed that the subjects results are independent.
- The dependent variable should be approximately normally distributed. This is assumed.
- The dependent variable should not contain any outliers. No outliers are seen in the data.
b) The null and alternative hypothesis are:
The alternative hypothesis states that the mean difference between the two scenarios is significantly higher than zero.
The null hypothesis states that the mean difference between the two scenarios is not significantly higher than zero.
c) Test statistic t = 1.96
P-value = 0.041
d) As the P-value (0.041) is smaller than the significance level (0.05), the effect is significant.
The null hypothesis is rejected.
There is enough evidence to support the claim that the true difference in the time of the unscented trial and the scented trial is significantly higher than zero.
e) The one-sided upper 95% confidence bound for this example is 0.33 seconds.
As the (lower) bound of the confidence interval is grater than 0, we are 95% confident that the true difference is higher than 0 with 95% confidence.
This is equivalent to the conclusion of the hypothesis test, stating that the true difference is significantly higher than 0.
Explanation:
This is a paired t-test, so the sample we will use to perform the hypothesis test is the difference between the time to complete the mazed in scented trials and unscented trials.
The difference of each subject is:
For example, for the first subject, we have:
Then, the sample of the difference is [4.5, 14.8, 9.5, -2.2, 0.1, 11.5, 2.6, 1.6, -8.8, 18.8 ].
The sample mean of the difference is:
The sample standard deviation is:
Now, we can perform hypothesis test for the population difference.
The claim is that the true difference in the time of the unscented trial and the scented trial is significantly higher than zero.
Then, the null and alternative hypothesis are:
The significance level is 0.05.
The sample has a size n=10.
The sample mean is M=5.2.
As the standard deviation of the population is not known, we estimate it with the sample standard deviation, that has a value of s=8.4.
The estimated standard error of the mean is computed using the formula:
Then, we can calculate the t-statistic as:
The degrees of freedom for this sample size are:
This test is a right-tailed test, with 9 degrees of freedom and t=1.96, so the P-value for this test is calculated as (using a t-table):
As the P-value (0.041) is smaller than the significance level (0.05), the effect is significant.
The null hypothesis is rejected.
There is enough evidence to support the claim that the true difference in the time of the unscented trial and the scented trial is significantly higher than zero.
E) We have to calculate a one-side 95% confidence interval for the mean difference.
The population standard deviation is not known, so we have to estimate it from the sample standard deviation and use a t-students distribution to calculate the critical value.
The t-value for a right-tailed 95% confidence interval and 9 degrees of freedom is t=1.83.
The margin of error (MOE) can be calculated as:
Then, the lower bound of the confidence interval is:
The one-sided upper 95% confidence bound for this example is 0.33 seconds.