In: Statistics and Probability
A | B |
5 | 8 |
4 | 10 |
3 | 11 |
5 | 2 |
5 | 6 |
4 | 9 |
9 | 6 |
6 | 9 |
7 | 12 |
6 | 13 |
Suppose, random variables X and Y denote time taken to reach correct conclusion for methods A and B respectively.
Here, two different groups are used to collect data in two different methods. Further we do not know population standard deviation (or variance). Though population does not follow Normal distribution, sample seems to follow approximately Normal distribution. So, we have to perform two sample t-test.
A diagnostic technique is better if it takes less time to reach correct conclusion.
We have to test for null hypothesis
against the alternative hypothesis
Our test statistic is given by
Here,
First sample size
Second sample size
Sample mean of first sample is given by
Sample mean of second sample is given by
Pooled sample variance is given by
Degrees of freedom
[Using R-code 'pt(-2.739505,18)']
Level of significance
We reject our null hypothesis if
Here, we observe that
So, we reject our null hypothesis.
Hence, based on the given data we can conclude that there is significant evidence that method A is superior to B.