object Statistic extends Error
The Statistic
companion object provides additional values and functions.
- Alphabetic
- By Inheritance
- Statistic
- Error
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def aggregate(subStats: ListBuffer[Statistic], name: String = "a-stat", unbiased: Boolean = false): Statistic
Aggregate the sub-statistics by summing all accumulators and determining new overall extreme values.
Aggregate the sub-statistics by summing all accumulators and determining new overall extreme values.
- subStats
the list of sub-statistics
- name
the name for the aggregated statistic
- unbiased
whether the estimators are restricted to be unbiased
- def apply(n: Int, sum: Double, sumAb: Double, sumSq: Double, minX: Double, maxX: Double, name: String = "stat", unbiased: Boolean = false): Statistic
Create a statistical object and set its accumulators and extreme values.
Create a statistical object and set its accumulators and extreme values.
- n
the number of samples
- sum
sum of the sample values
- sumAb
sum of the sample absolute values
- sumSq
sum of the sample values squared
- minX
the minimum sample value
- maxX
the maximum sample value
- name
the name for this statistic (e.g., 'waitingTime')
- unbiased
whether the estimators are restricted to be unbiased
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def flaw(method: String, message: String): Unit
- Definition Classes
- Error
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val label: Array[String]
The statistical labels (column headers) as an Array
- val labels: String
The statistical labels (column headers) as a formatted String
- val line: String
The line separator
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated