double
StandardDeviation(
double
[]
values
)
The standard deviation of the values.
σ
=
(
x
i
−
x
)
2
n
i
n
Example
=
Block
{
ShowStandardDeviation
([2, 3, 3, 4]);
ShowStandardDeviation
([2, 5, 6, 12]);
};
The standard deviation of 2, 3, 3 and 4 is 0.7071067811865476
The standard deviation of 2, 5, 6 and 12 is 3.6314597615834874