Prototypes | Header File(s) | |
double |
kurtosis(const RWMathVec<double>&) |
<rw/dstats.h> |
Returns the kurtosis of a vector of doubles:
where <x> is the mean of the vector and is its standard deviation (that is, the square root of the variance). The -3 term is designed to make the kurtosis 0 for a normal distribution.