In the following summation:
${\sum_{i=1}^{N}\left(x_{i}-\bar{x}\right)^{2}}$
Do I first add all the $x_i - \bar{x}$ then I square the sum?
Or do I square each $x_i - \bar{x}$ as I add them up?
Sorry for the silly question -- but the syntax is confusing me if the square is included in every iteration of the sum or just at the end...