MomentsResult
@Serializable
@SerialName(value = "MomentsResult")
First four central moments (m2..m4) plus mean and total weight.
Constructors
MomentsResult
Properties
center
m2
m3
m4
mean
scale
sst
Sum of squared deviations from the running mean: Sum (x - mean)^2 * weight.
Implementors must override this or variance; the two are defined in terms of each other, so overriding neither recurses until the stack runs out. Every Result in the library overrides sst, which is the cheaper of the two to carry.
totalWeights
Cumulative weight of observations folded into this result.
Link copied to clipboard
Unbiased sample standard deviation: sqrt([sampleVariance]).
Link copied to clipboard
Unbiased sample variance: [sst] / ([totalWeights] - 1). Zero when totalWeights <= 1.
Link copied to clipboard
Sample-size-adjusted (unbiased) excess kurtosis. Zero when totalWeights <= 3.
Link copied to clipboard
Sample-size-adjusted (unbiased) skewness. Zero when totalWeights <= 2.