But here we explain the formulas. If we do not figure out a way to eliminate the negative signs all of the deviations will cancel one another out if we add them together. Find this value simply by subtracting the mean from each data value.
For deviation just think about the distance.
MD X X N. You will need every number in your sample to calculate the mean. If you divide 6 by the number of data points 4 you get an average deviation of 15. Find this value simply by subtracting the mean from each data value.