standard deviation formula for grouped data example