Solved – Mann Whitney U test Vs T test

inferencestatistical significancet-test

Problem definition: I need to test whether the difference between the "mean" utilization metrics of two machines is statistically significant.

Given Data: Utilisation data is available for two machines for more than 100 days. Therefore, the mean, standard deviation, and standard error can be calculated over the 100 days.

My approach: Calculate the mean, standard error and then use t-test with unequal variances to test the difference in means. Used the approach described here "https://www.cscu.cornell.edu/news/statnews/stnews73.pdf"

Clarifications: What is the best test here to test the statistical significance of the difference in "means"? Is it t-test or Mann Whitney u test? I read many academic papers where t-test is widely used than Mann Whitney U test (without testing for the normal distribution). Is it because they take the central limit theorem for granted and they use the t-test? Also, some claims that Mann Whitney U test is really not used to test the statistical significance of the means rather it is used for medians.

It's quite hard for me to understand the logic behind choosing these tests.

Best Answer

In first place, t-test tests for means while Mann Whitney test tests for medians (under favourable assumptions - see Alexis's comment). However, if you can assume that your variable is symmetrically distribution, means are equal to medians.

In second place, unless your variable is not extremely skewed, you can use the central limit theorem to state that the mean is approximately normally distributed and then use t-test.

Related Question