case classMoments(m0: Long, m1: Double, m2: Double, m3: Double, m4: Double) extends Product with Serializable
A class to calculate the first five central moments over a sequence of Doubles.
Given the first five central moments, we can then calculate metrics like skewness
and kurtosis.
m{i} denotes the ith central moment.
Linear Supertypes
Serializable, Serializable, Product, Equals, AnyRef, Any
A class to calculate the first five central moments over a sequence of Doubles. Given the first five central moments, we can then calculate metrics like skewness and kurtosis.
m{i} denotes the ith central moment.