HasShapeMoments
Result trait for accumulators that expose third and fourth central moments plus skewness and kurtosis. Extends HasSampleVariance; every shape moment result is also a variance result.
Implemented by com.eignex.kumulant.stat.summary.MomentsResult. Use it when the shape of the distribution matters; heavy tails (kurtosis), asymmetry (skewness), departures from normality in general.
Biased (skewness, kurtosis) and unbiased (unbiasedSkewness, unbiasedKurtosis) variants are both exposed. Pick biased for the moment estimate itself, unbiased when feeding into a small-sample inference test.
Inheritors
Properties
Unbiased sample standard deviation: sqrt([sampleVariance]).
Unbiased sample variance: [sst] / ([totalWeights] - 1). Zero when totalWeights <= 1.
Cumulative weight of observations folded into this result.
Sample-size-adjusted (unbiased) excess kurtosis. Zero when totalWeights <= 3.
Sample-size-adjusted (unbiased) skewness. Zero when totalWeights <= 2.
kurtosis
m2
m3
m4
skewness
unbiasedKurtosis
Sample-size-adjusted (unbiased) excess kurtosis. Zero when totalWeights <= 3.
unbiasedSkewness
Sample-size-adjusted (unbiased) skewness. Zero when totalWeights <= 2.