On a Test Whether Two Samples are from the Same Population