Statistic

gapt.utils.Statistic
See theStatistic companion object
case class Statistic[T](n: Int, min: T, max: T, avg: BigDecimal, median: BigDecimal, sigma_square: Option[BigDecimal]) extends Serializable

Holds the statistic parameters of a collection of elements of type a numerical type T

Type parameters

T

the type of elements the collection contains

Value parameters

avg

the average element

max

the maximal element

median

the median element

min

the minimal element

n

the size of the data

sigma_square

the square of the standard deviation (only exists for n >= 2)

Attributes

Companion
object
Source
Statistics.scala
Graph
Supertypes
trait Product
trait Equals
trait Serializable
class Object
trait Matchable
class Any
Show all

Members list

Value members

Inherited methods

def productElementNames: Iterator[String]

An iterator over the names of all the elements of this product.

An iterator over the names of all the elements of this product.

Attributes

Inherited from:
Product
Source
Product.scala
def productIterator: Iterator[Any]

An iterator over all the elements of this product.

An iterator over all the elements of this product.

Attributes

Returns

in the default implementation, an Iterator[Any]

Inherited from:
Product
Source
Product.scala

Concrete fields

lazy val toCSV: List[String]

exports the statistics as a list of strings

exports the statistics as a list of strings

Attributes

Source
Statistics.scala