We have eight observations in the data set, namely 7, 8, 9, 7, 8, 7, λ, 8.
The mean is given to be 8. By definition,
Mean(xˉ)=Number of observationsSum of all observations.
Substituting the known values,
8=87+8+9+7+8+7+λ+8.
Multiplying both sides by 8, we get
64=7+8+9+7+8+7+8+λ.
Adding the numerical terms step by step,
7+8=15,
15+9=24,
24+7=31,
31+8=39,
39+7=46,
46+8=54.
So the equation becomes
64=54+λ.
Hence,
λ=64−54=10.
Now that all values are known, we proceed to find the variance. For a complete data set (population), the variance σ2 is defined as
σ2=n∑(x−xˉ)2,
where x is an individual observation, xˉ is the mean, and n is the total number of observations.
Here xˉ=8 and n=8. We compute (x−xˉ)2 for each value:
For 7: 7−8=−1⇒(−1)2=1. There are three such 7’s, so contribution =3×1=3.
For 8: 8−8=0⇒02=0. There are three such 8’s, so contribution =3×0=0.
For 9: 9−8=1⇒12=1. Contribution =1.
For 10: 10−8=2⇒22=4. Contribution =4.
Adding all squared deviations,
∑(x−xˉ)2=3+0+1+4=8.
Finally, substituting into the variance formula,
σ2=88=1.
Hence, the correct answer is Option D.