example 1: 2, 2, 4, 4 => mean = 3
∣2−3∣+∣2−3∣+∣4−3∣+∣4−3∣4=1\frac{\vert 2-3 \vert + \vert 2-3 \vert + \vert 4-3 \vert + \vert 4-3 \vert}{4} = 14∣2−3∣+∣2−3∣+∣4−3∣+∣4−3∣=1
example 2: 1, 1, 6, 4 => mean = 3
∣1−3∣+∣1−3∣+∣6−3∣+∣4−3∣4=2\frac{\vert 1-3 \vert + \vert 1-3 \vert + \vert 6-3 \vert + \vert 4-3 \vert}{4} = 24∣1−3∣+∣1−3∣+∣6−3∣+∣4−3∣=2
Last updated 5 years ago