scalation.stat

Statistic

class Statistic extends Error

This class is used to collect values and compute sample statistics on them (e.g., Waiting Time). Contrast with TimeStatistic defined below.

Linear Supertypes
Error, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Hide All
  2. Show all
  1. Statistic
  2. Error
  3. AnyRef
  4. Any
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Statistic(name: String = "stat", unbiased: Boolean = false)

    name

    the name for this statistic (e.g., WatingTime or tellerQ)

    unbiased

    whether the estimators are restricted to be unbiased

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. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. def clone(): AnyRef

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  8. final def eq(arg0: AnyRef): Boolean

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

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

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  11. def flaw(method: String, message: String): Unit

    Show the flaw by printing the error message.

    Show the flaw by printing the error message.

    method

    the method where the error occurred

    message

    the error message

    Definition Classes
    Error
  12. final def getClass(): java.lang.Class[_]

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

    Definition Classes
    AnyRef → Any
  14. def interval(p: Double = .95): Double

    Compute the confidence interval half-width for the given confidence level.

    Compute the confidence interval half-width for the given confidence level.

    p

    the confidence level

  15. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  16. def labels(): String

    Generate a header of statistical labels as a string.

  17. def max: Double

    Get the maximum value in sample.

  18. var maxX: Double

    the maximum sample value

    the maximum sample value

    Attributes
    protected
  19. def mean: Double

    Compute/estimate the sample mean.

  20. def min: Double

    Get the minimum value in sample.

  21. var minX: Double

    the minimum sample value

    the minimum sample value

    Attributes
    protected
  22. def ms: Double

    Compute/estimate the mean square (ms).

  23. var n: Int

    The number of samples

    The number of samples

    Attributes
    protected
  24. val name: String

    the name for this statistic (e.

    the name for this statistic (e.g., WatingTime or tellerQ)

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

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

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

    Definition Classes
    AnyRef
  28. def num: Int

    Get the number of samples.

  29. def rms: Double

    Compute/estimate the root mean square (rms).

  30. def stddev: Double

    Compute/estimate the sample standard deviation.

  31. var sum: Double

    Sum of the sample values

    Sum of the sample values

    Attributes
    protected
  32. var sumSq: Double

    Sum of the sample values squared

    Sum of the sample values squared

    Attributes
    protected
  33. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  34. def tally(x: Double): Unit

    Tally the next value and update accumulators.

    Tally the next value and update accumulators.

    x

    the value to tally

  35. def toString(): String

    Generate a row of statistical results as a string.

    Generate a row of statistical results as a string.

    Definition Classes
    Statistic → AnyRef → Any
  36. def variance: Double

    Compute/estimate the sample variance.

    Compute/estimate the sample variance. The denominator is one less for unbiased (n-1) vs. maximum likelihood (n) estimators. Also use n for population variance.

  37. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws()

Inherited from Error

Inherited from AnyRef

Inherited from Any