org.scalameter.utils

Statistics

object Statistics

Standard statistics utilities.

Note: significance level alpha is equal to 1 - confidenceLevel. If you want to be sure that 2 sets of measurements do not differ with 90 percent probability, then the significance level alpha should be set to 0.1. In this example, the confidence level is 0.9, and the significance level is 0.1.

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Statistics
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Type Members

  1. case class ANOVAFTest(alternatives: Seq[Seq[Double]], alpha: Double) extends Test with Product with Serializable

    ANOVA separates the total variation in a set of measurements into a component due to random fluctuations in the measurements and a component due to the actual differences among the alternatives.

  2. case class CoVTest(measurements: Seq[Double], threshold: Double) extends Test with Product with Serializable

    Compares the coefficient of variance to some threshold value.

  3. case class ConfidenceIntervalTest(strict: Boolean, alt1: Seq[Double], alt2: Seq[Double], alpha: Double) extends Standard2WayTest with Product with Serializable

    Compares two alternative sets of measurements given a significance level alpha.

  4. case class OverlapTest(alt1: Seq[Double], alt2: Seq[Double], alpha: Double, noiseMagnitude: Double) extends Standard2WayTest with Product with Serializable

    Computes the confidence interval of the two alternatives.

  5. abstract class Standard2WayTest extends Test

  6. trait Test extends AnyRef

Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. def CoV(measurements: Seq[Double]): Double

  7. def SSA(alternatives: Seq[Seq[Double]]): Double

    Computes sum-of-squares due to differences between alternatives.

  8. def SSE(alternatives: Seq[Seq[Double]]): Double

    Computes sum-of-squares due to errors in measurements.

  9. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  10. def clamp(x: Double, below: Double, above: Double): Double

  11. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  12. def confidenceInterval(seq: Seq[Double], alpha: Double): (Double, Double)

    Let Y = (Y_1, .

    Let Y = (Y_1, ..., Y_n) data resulting from a parametric law F of scalar parameter θ. A confidence interval (B_i, B_s) is a statistic in the form of an interval containing θ with a specified probability.

  13. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  14. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  15. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  16. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  17. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  18. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  19. def mean(seq: Seq[Double]): Double

    Computes the mean of the sequence of measurements.

  20. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  21. final def notify(): Unit

    Definition Classes
    AnyRef
  22. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  23. def stdev(seq: Seq[Double]): Double

    The sample standard sample deviation.

    The sample standard sample deviation. It is the square root of S², unbiased estimator for the variance.

  24. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  25. implicit def test2boolean(t: Test): Boolean

  26. def toString(): String

    Definition Classes
    AnyRef → Any
  27. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws()
  28. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws()
  29. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws()

Inherited from AnyRef

Inherited from Any

Ungrouped