S=S2=1n−1∑i=1n(xi−xˉ)2 S = \sqrt{S^2} = \sqrt{\frac{1}{n-1} \sum_{i=1}^n (x_i - \bar{x})^2} S=S2=n−11i=1∑n(xi−xˉ)2