ttest2 doubt in the results between 2 different groups
Mostra commenti meno recenti
Hello all,
I have a doubt using ttest2. One example is this one
A= [0.700000000000000, 0.850000000000000, 0.800000000000000, 0.950000000000000, 1, 0.850000000000000, 0.933333333333333, 0.700000000000000, 0.850000000000000, 0.708333333333333]
B= [0.350000000000000 0.850000000000000 0.850000000000000 0.700000000000000 1 0.600000000000000 1 0.400000000000000 1 0.791666666666667]
>> mean(A)
ans = 0.8342
>> mean(B)
ans = 0.7542
The means are very different, the same as std; however the ttest2 the results are not what we expected
>> [h,p]=ttest2(A',B')
h =0
p =0.3483
We cannot reject that both populations has the same distribution even the mean is very different and the std. How can it be?. I have tried all statistics and I get the same coclusion.
Thank you
Risposta accettata
Più risposte (0)
Categorie
Scopri di più su Hypothesis Tests in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!