Calculate the standard deviation of the given values, skipping values
if asked.
- Parameters:
values (list of float) - The list of values to calculate the standard deviation of.
skip (list of bool or None.) - An optional list of booleans specifying if a value should be
skipped. The length of this list must match the values. An
element of True will cause the corresponding value to not be
included in the calculation.
dof (int) - The degrees of freedom, whereby the standard deviation is
multipled by 1/(N - dof).
- Returns: float
- The standard deviation.
|