Hypothesis testing and specifically hypothesis testing for the difference in two means can be useful when investigating whether two populations are being treated equally or performing equally and such questions do arise in business (comparing two production processes), public policy (comparing outcomes of social programs) and legal settings (such as in discrimination cases).