Respuesta :
First calculate the mean:
[tex]\text{mean}=\frac{12+10+10+8+6+7+7+12}{8}=9[/tex]
Next calculate the distance between each data point and the mean, and add them together. We get:
[tex]|12-9|+|10-9|+ |10-9|+|8-9|+|6-9|+2*|7-9|+|12-9|\\ =16 [/tex]
Take this number and divide with the number of observations:
[tex]\text{MAD}=\frac{16}{8}=2[/tex]
[tex]\text{mean}=\frac{12+10+10+8+6+7+7+12}{8}=9[/tex]
Next calculate the distance between each data point and the mean, and add them together. We get:
[tex]|12-9|+|10-9|+ |10-9|+|8-9|+|6-9|+2*|7-9|+|12-9|\\ =16 [/tex]
Take this number and divide with the number of observations:
[tex]\text{MAD}=\frac{16}{8}=2[/tex]