package
stats
Type Members
-
case class
Empty[K, V]()(implicit evidence$25: Numeric[K], evidence$26: Integral[V]) extends Stats[K, V] with Product with Serializable
-
case class
NonEmpty[K, V](n: V, sum: Double, mean: Double, stddev: Double, median: Double, mad: Double, samplesOpt: Option[Samples[K, V]], sortedSamplesOpt: Option[Samples[K, V]], percentiles: Seq[(Rational, Double)])(implicit evidence$27: Numeric[K], evidence$28: Integral[V]) extends Stats[K, V] with Product with Serializable
-
case class
Runs[K, V](elems: Seq[(K, V)], num: V)(implicit evidence$1: Integral[V]) extends Product with Serializable
-
case class
Samples[K, V](n: V, first: Runs[K, V], last: Runs[K, V])(implicit evidence$1: Integral[V]) extends Product with Serializable
-
sealed abstract
class
Stats[K, V] extends AnyRef
Value Members
-
object
Runs extends Serializable
-
object
Samples extends Serializable
-
Stores some computed statistics about a dataset of Numeric elements.
number of elements in the dataset.
median absolute deviation (from the median).
"sample" elements; the start and end of the data.
"sample" elements; the least and greatest elements. If the dataset is already sorted, meaning this would be equivalent to samplesOpt, it is omitted.
selected percentiles of the dataset.