We extend the paper of Hinloopen and van Marrewijk (2005), who introduce the harmonic mass index to test whether two samples come from the same distribution, in the following directions. Firstly, we derive the Harmonic Weighted Mass (HWM) index for any number of samples. Secondly, this paper...