Packages

  • package root
    Definition Classes
    root
  • package myscala
    Definition Classes
    root
  • package math
    Definition Classes
    myscala
  • package stats

    Statistical functions

    Statistical functions

    • quantile computation

    Overview

    The main functions in this package are used as follows

    import scala.util.Random
    
    // Computation of quantiles example
    val computeQuantilesEvery10 = computeQuantiles(Seq(10,20,30,40,50,60,70,80,90))_ // partial evaluation (currying)
    val q = computeQuantilesEvery10(Seq.fill(123)(Random.nextDouble))
    
    // Statistics example
    val data = Vector(1,2,3,4,5,6,7,8,9,10)s
    data.statistics // thanks to the implicit class
    Definition Classes
    math
  • package bootstrap
    Definition Classes
    stats
  • BoxPlot
  • ComputeQuantiles
  • ComputeStats
  • EmptyStatistics
  • Quantile
  • Quantiles
  • Statistics

case class BoxPlot[T](mean: Double, median: Double, lowerQuartile: T, upperQuartile: T, lowerWhisker: Double, upperWhisker: Double, outliers: Seq[T])(implicit evidence$1: Numeric[T]) extends Product with Serializable

Container for the results from the boxplot computation.

The whiskers are computed as in the pfgplots package (https://ctan.org/pkg/pgfplots?lang=en).

T

type of data

mean

mean of the data

median

median of the data

lowerQuartile

upper quartile

upperQuartile

lower quartile

lowerWhisker

lower whisker

upperWhisker

upper whisker

outliers

collection of outliers

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

Instance Constructors

  1. new BoxPlot(mean: Double, median: Double, lowerQuartile: T, upperQuartile: T, lowerWhisker: Double, upperWhisker: Double, outliers: Seq[T])(implicit arg0: Numeric[T])

    mean

    mean of the data

    median

    median of the data

    lowerQuartile

    upper quartile

    upperQuartile

    lower quartile

    lowerWhisker

    lower whisker

    upperWhisker

    upper whisker

    outliers

    collection of outliers

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. val CSVColumnNames: String
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  7. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  8. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  9. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  10. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  11. val lowerQuartile: T
  12. val lowerWhisker: Double
  13. val mean: Double
  14. val median: Double
  15. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  16. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  17. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  18. val outliers: Seq[T]
  19. def productElementNames: Iterator[String]
    Definition Classes
    Product
  20. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  21. def toCSV: String
  22. def toString(): String
    Definition Classes
    BoxPlot → AnyRef → Any
  23. def toTuple: (Double, Double, T, T, Double, Double, Int)
  24. val upperQuartile: T
  25. val upperWhisker: Double
  26. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  27. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  28. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped