Variance and standard deviation (grouped data)