Testing differences between two independent samples is referred to as an independent populations t-test.
A z-statistic is used when we have the population mean and population standard deviation.
Imported from external platform