This is my scenario:
I'm testing two length measuring devices. I'm measuring a model that has notches at different lengths in order to collect 15 different measurements.
I know the "real" value for each distance in order to calculate 15 "errors" for each device.
The same 15 measurements are repeated ten times for each device.
- Device A – 15 measurements x 10 times
- Device B – 15 measurements x 10 times
In order to have a general idea about which one is better I thought that a t-test would be ok (tell me if not): I put all the errors of Device A together and compare them with B.
If I want to compare A vs B of each one of the 15 measurements would it be ok to do a one way ANOVA? I'm asking it because I have only two groups.
Best Answer
If you just want to compare the differences between the two groups than a hypothesis test like a t-test or a Wilcoxon test is the most convenient way. There are some differences between statistical tests regarding small sample properties and how they deal with different variances. For reasons of simplicity I propose a simple t-test (welche two sample t-test).
Let´s have a look a two vectors. The first vector is called "a".
The second vector is called "b".
So you can use the following R command for testing.
The null hypothesis is that both samples have the same mean. The alternative hypothesis is that there are significant differences between the values of the two vectors.
One-way ANOVA however is applicable if you want to compare means of three or more samples. As you have only two samples you should not use a one-way ANOVA.