Variance as the minimum mean squared error of a constant
= Variance as the minimum mean squared error of a constant
For a square-integrable real random variable $X$,
$$
\mathbb E[(X-a)^2]
=\operatorname{Var}(X)+(\mathbb EX-a)^2.
$$
Thus the unique best constant predictor is $a=\mathbb EX$, and the minimum mean squared error is $\operatorname{Var}(X)$.