Statistics for Service-aware clustering: an energy-efficient model for the internet-of-things