Deviation with respect of the Mode instead from the Mean Value
I am trying to figure out if the following calculations make sense. If I try to make a deviation measure from the Mode value "$\nu$" as it is traditionally done from the mean value "$\bar{x}$", I will have the following:
$$\begin{array}{r c l} \text{Var}\nu[x] & := & E[(x-\nu)^2]\\ & = & E[x^2-2\nu x+\nu^2] \\ & = & E[x^2]-2\nu \underbrace{E[x]}_{=\ \bar{x}}+\nu^2 \underbrace{E[1]}_{=\ 1}\\ & = & E[x^2]-2\nu \bar{x}+\nu^2\pm(E[x])^2 \\ & = & \underbrace{E[x^2]-(E[x])^2}_{=\ \text{Var}[x]}+\underbrace{(E[x])^2}_{=\ \bar{x}^2}-2\nu \bar{x}+\nu^2 \\ & = & \text{Var}[x]+\bar{x}^2-2\nu \bar{x}+\nu^2 \\ & = & \text{Var}[x]+(\bar{x}-\nu)^2 \end{array}$$
So far, if the algebra is right I found that the deviation is given by the traditional variance plus the squared of the difference among the Mode and the mean value, which it is just adding a constant value: $$\text{Var}\nu[x] = \text{Var}[x]+(\bar{x}-\nu)^2$$
Here is where I have doubts: I could have made the same metric for any arbitrary value instead of the Mode $\nu$, so I think that somehow this procedure could be mistaken: Maybe $\nu$ have to be treated as some $\nu[x]$ such it is not possible to treat it as a constant value $E[\nu[x]\cdot f(x)]\neq \nu[x]\cdot E[f(x)]$.
I hope you could help me to figure this out.