Use Randomization Test for 2-Sample Means to determine whether the population means of two independent groups differ. For observations to be independent, the value of a particular observation does not depend on any previous observation. If your observations are not independent, your results may not be valid. For more information, go to How are dependent and independent samples different?.
For example, a healthcare consultant uses a randomization test to determine whether there is a difference in patient satisfaction ratings of two hospitals.
To estimate a confidence interval for the difference in means of two independent groups, use Bootstrapping for 2-Sample Means.