Calculate the sample standard deviation of a data set.
Standard deviation measures how spread out values are from the mean. A small value means the data clusters tightly.
stdev = √(Σ(x − mean)² ÷ (n − 1))