The six observations are 4,7,2,8,6 and a, whose mean is given to be 7.
Mean formula: Mean=Number of observationsSum of observations
Hence 64+7+2+8+6+a=7⇒27+a=42⇒a=15.
Including a, the data set becomes 2,4,6,7,8,15 (arranged in ascending order).
For an even number n=6 of observations,
Median=23rd term+4th term=26+7=6.5.
Compute the absolute deviations from the median:
∣2−6.5∣=4.5,∣4−6.5∣=2.5,∣6−6.5∣=0.5,∣7−6.5∣=0.5,∣8−6.5∣=1.5,∣15−6.5∣=8.5
Sum of these deviations =4.5+2.5+0.5+0.5+1.5+8.5=18.
Mean deviation from the median is therefore 618=3.
Option D which is: 3