I have just started learning standard deviation and I'm trying to understand the formula.
$$ s = \sqrt{ \frac{\sum(x-\bar x)^2}{n-1} } $$
Can anyone explain to me the square (and square root) part? If they are using the square & square root to prevent having negative value, why not just use | | for absolute value?
And I have another question. Why is the $-1$ sometimes omitted?
$$ \sigma = \sqrt{\frac{\sum(x-\bar x)^2}n} $$
Should I -1 or just omit it? I googled the standard deviation formula and some show -1 while some don't.
Thank you so much.