結果 : step deviation method formula for grouped data