This study compares the Type I error rate and power between the two-sample t-test and the Wilcoxon-Mann-Whitney (WMW) test. The two-sample t-test requires either the two population distributions to be normal or the sample sizes to be large enough in order for the sampling distribution to be normal. The WMW test is a nonparametric test that requires the two population distributions to have the same shape. When two populations have the same mean, Type I error rate is of interest. In contrast, when two populations have different means, power is of interest
Different scenarios are analyzed in this study, such as comparing two Normal distributions, a Normal to a Gamma distribution, and two Gamma distributions with small and large sample sizes. The better test is determined either through a lower Type I error rate or a higher power.
It is time to
Guess the Population!
This game demonstrates the difficulty of identifying which
pair of sample data are from the same population. Below are 4 histograms of randomly generated data with sample
sizes of 20, where 2 are from
N(3,1)
(Normal distribution) and 2 are from
Gamma(6,.5)
(Gamma distribution).
Note:
Type I error rate
Power
In the generated graph, each point is either a Type I error rate or power; there is at most 1 Type I error rate (when the two population means are the same).
Note:
In the generated graph, each point is either a Type I error rate or power; there is at most 1 Type I error rate (when the two population means are the same).
Note:
In the generated graph, each point is either a Type I error rate or power; there is at most 1 Type I error rate (when the two population means are the same).