ENH: Add mode statistical measure:w

Change-Id: I2934c1d3f5d6a7536532457a1c885895bc2c1d0d