Let's start putting all the data on the paper. 6 different jars of pasta sauce with the prices
{$2.79, $1.99,$ 4.29,$2.49,$2.29,$3.49}. To find the mean you have to sum all these values and then divide them by the number of jars (total is 6). So:
To calculate the MAD value you should first calculate the mean (It's $2.89 that we have calculated). Then we have to calculate the 'distance' between each data and the mean (these are the first two steps). So let's start doing:
Now we have to sum all these distances:
MAD (Median Absolute Deviation) gives a measure of the variability of the data! You can calculate the value dividing the sum of the distances by the number of total jars:
The next item is to calculate the Variance. The formula of variance is:
So we have to get each value and subtract by the mean everything squared. Is another way to measure the dispersion.
Finally, we can find the Standart Deviation. The standard deviation can be found using the square root of the Variance. Standard Deviation is a measure of how trustable the mean is.
Example of the use of the Standart Deviation
If we talk that the mean is 2.89 we have to consider the deviation (information about the data reliability):