Returns the standard deviation of the given list of values. Low standard deviation => values are close to the mean. High standard deviation => values are spread out over a large range.
(list, *args, **kwargs)
| 563 | return sum((x-m)**2 for x in list) / (len(list)-int(sample) or 1) |
| 564 | |
| 565 | def standard_deviation(list, *args, **kwargs): |
| 566 | """ Returns the standard deviation of the given list of values. |
| 567 | Low standard deviation => values are close to the mean. |
| 568 | High standard deviation => values are spread out over a large range. |
| 569 | """ |
| 570 | return sqrt(variance(list, *args, **kwargs)) |
| 571 | |
| 572 | stdev = standard_deviation |
| 573 |
nothing calls this directly
no test coverage detected
searching dependent graphs…