Standard Deviation
The standard deviation is a metric which is used to measure the amount of variation in a set of data values.
The standard deviation has the same units as the data.
Equation
where:
is the mean (average) of the samples
is the number of samples
For example,
Software
You can calculated the standard deviation of an array in Numpy with np.std()
:
By default, the array is flattened. However, you can specify an axis
on which to calculate the standard deviation.