Package

org.hammerlab

stats

Permalink

package stats

Visibility
  1. Public
  2. All

Type Members

  1. case class Empty[K, V]()(implicit evidence$26: Numeric[K], evidence$27: Integral[V]) extends Stats[K, V] with Product with Serializable

    Permalink
  2. case class Hi(exp: Int) extends Percentile with Product with Serializable

    Permalink

    Hi-end Percentiles representing "N nines", e.g.

    Hi-end Percentiles representing "N nines", e.g. .99. ,999, etc.

  3. case class Lo(exp: Int) extends Percentile with Product with Serializable

    Permalink

    Negative-power-of-ten Percentiles (≤ 1e-4)

  4. case class Mid(value: Int) extends Percentile with Product with Serializable

    Permalink

    Mid-range Percentiles at round-numbers (e.g.

    Mid-range Percentiles at round-numbers (e.g. .10, .25, .50, .75, .90)

  5. case class NonEmpty[K, V](n: V, sum: Double, mean: Double, stddev: Double, median: PercentileValue[K], mad: PercentileValue[K], samplesOpt: Option[Samples[K, V]], sortedSamplesOpt: Option[Samples[K, V]], percentiles: Percentiles[K])(implicit evidence$28: Numeric[K], evidence$29: Integral[V]) extends Stats[K, V] with Product with Serializable

    Permalink

    Stores some computed statistics about a dataset of Numeric elements.

    Stores some computed statistics about a dataset of Numeric elements.

    n

    number of elements in the dataset.

    mad

    median absolute deviation (from the median).

    samplesOpt

    "sample" elements; the start and end of the data.

    sortedSamplesOpt

    "sample" elements; the least and greatest elements. If the dataset is already sorted, meaning this would be equivalent to samplesOpt, it is omitted.

    percentiles

    selected percentiles of the dataset.

  6. sealed trait Percentile extends AnyRef

    Permalink

    Percentiles inferred from collections and displayed vis Stats

  7. case class Runs[K, V](elems: Seq[(K, V)], num: V)(implicit evidence$1: Integral[V]) extends Product with Serializable

    Permalink

    Convenience class wrapping a sequence of key-number pairs, used in run-length-encoding in NonEmpty.

  8. case class Samples[K, V](n: V, first: Runs[K, V], last: Runs[K, V])(implicit evidence$1: Integral[V]) extends Product with Serializable

    Permalink

    Used by NonEmpty to wrap some Runs of elements from the start and end of a dataset.

    Used by NonEmpty to wrap some Runs of elements from the start and end of a dataset.

    K

    arbitrary element type

    V

    Integral type, e.g. Int or Long.

    n

    total number of elements in the dataset.

    first

    Runs of elements from the start of the dataset.

    last

    Runs of elements from the end of the dataset.

  9. sealed abstract class Stats[K, V] extends AnyRef

    Permalink

    Stores some computed statistics about a dataset of Numeric elements.

    Stores some computed statistics about a dataset of Numeric elements.

    Two concrete implementations are below: Empty and NonEmpty.

    K

    Numeric element type. TODO(ryan): allow this to be non-Numeric.

    V

    Integral value type.

Value Members

  1. object Percentile

    Permalink
  2. object Runs extends Serializable

    Permalink
  3. object Samples extends Serializable

    Permalink
  4. object Stats

    Permalink

Ungrouped