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

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product

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