MCPcopy Index your code
hub / github.com/clips/pattern / kurtosis

Function kurtosis

pattern/metrics.py:617–624  ·  view source on GitHub ↗

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)

Source from the content-addressed store, hash-verified

615skew = skewness
616
617def 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

Callers

nothing calls this directly

Calls 1

momentFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…