Packages

final case class SampleStats[A](size: A, m1: A, m2: A, m3: A, m4: A) extends Product with Serializable

Statistics based on a sample from a population.

size

the number of observations

m1

the first central moment

m2

the second central moment

m3

the third central moment

m4

the fourth central moment

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SampleStats
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new SampleStats(size: A, m1: A, m2: A, m3: A, m4: A)

    size

    the number of observations

    m1

    the first central moment

    m2

    the second central moment

    m3

    the third central moment

    m4

    the fourth central moment

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. def +(b: SampleStats[A])(implicit E: Equal[A], F: Field[A]): SampleStats[A]

    Alias for merge.

  4. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  7. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  8. def excessKurtosis(implicit E: Equal[A], F: Field[A]): slamdata.Predef.Option[A]
  9. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  10. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  11. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  12. def kurtosis(implicit E: Equal[A], F: Field[A]): slamdata.Predef.Option[A]
  13. val m1: A
  14. val m2: A
  15. val m3: A
  16. val m4: A
  17. def mean: A
  18. def merge(b: SampleStats[A])(implicit E: Equal[A], F: Field[A]): SampleStats[A]

    Combine with another SampleStats to produce stats about the union of their observations.

    Combine with another SampleStats to produce stats about the union of their observations.

    Implementation via Chan et al. https://en.wikipedia.org/wiki/Algorithms_for_calculating_variance#Parallel_algorithm

  19. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  20. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  21. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  22. def observe(x: A)(implicit F: Field[A]): SampleStats[A]

    Returns new stats that include the given observation.

    Returns new stats that include the given observation.

    NB: This is equivalent to merge, simplified for the case when one of the stats has exactly one observation.

  23. def populationExcessKurtosis(implicit E: Equal[A], F: Field[A]): slamdata.Predef.Option[A]

    Estimated excess kurtosis of the population sampled.

  24. def populationKurtosis(implicit E: Equal[A], F: Field[A]): slamdata.Predef.Option[A]

    Estimated kurtosis of the population sampled.

  25. def populationSkewness(implicit E: Equal[A], F: Field[A], R: NRoot[A]): slamdata.Predef.Option[A]

    Estimated skewness of the population sampled.

  26. def populationStddev(implicit E: Equal[A], F: Field[A], R: NRoot[A]): slamdata.Predef.Option[A]

    Estimated standard deviation of the population sampled.

  27. def populationVariance(implicit E: Equal[A], F: Field[A]): slamdata.Predef.Option[A]

    Unbiased estimated variance of the population sampled.

  28. val size: A
  29. def skewness(implicit E: Equal[A], F: Field[A], R: NRoot[A]): slamdata.Predef.Option[A]
  30. def stddev(implicit E: Equal[A], F: Field[A], R: NRoot[A]): slamdata.Predef.Option[A]
  31. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  32. def variance(implicit E: Equal[A], F: Field[A]): slamdata.Predef.Option[A]
  33. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  34. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  35. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped