how to calculate standard deviation of continuous data by direct method