Returns the degree of peakedness of the given list of values: > 0.0 => sharper peak around mean(list) = more infrequent, extreme values, < 0.0 => wider peak around mean(list), = 0.0 => normal distribution, = -3 => flat
(list)
| 615 | skew = skewness |
| 616 | |
| 617 | def kurtosis(list): |
| 618 | """ Returns the degree of peakedness of the given list of values: |
| 619 | > 0.0 => sharper peak around mean(list) = more infrequent, extreme values, |
| 620 | < 0.0 => wider peak around mean(list), |
| 621 | = 0.0 => normal distribution, |
| 622 | = -3 => flat |
| 623 | """ |
| 624 | return moment(list, 4) / (moment(list, 2) ** 2.0 or 1) - 3 |
| 625 | |
| 626 | #a = 1 |
| 627 | #b = 1000 |
nothing calls this directly
no test coverage detected
searching dependent graphs…