scalation.stat

TimeStatistic

class TimeStatistic extends Statistic

This class is used to collect values and compute time-persistent statistics on them (e.g., Number in Queue).

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

Instance Constructors

  1. new TimeStatistic(name: String = "timeStat", lastTime: Double = 0.0)

    name

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

    lastTime

    the time of previous observation

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. def accumulate(x: Double, t: Double): Unit

    Accumulate the next value weighted by its time duration and update accumulators.

    Accumulate the next value weighted by its time duration and update accumulators.

    x

    the value to accumulate

    t

    the time of the observation

  7. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  8. def clone(): AnyRef

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

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

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

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  12. 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
  13. final def getClass(): java.lang.Class[_]

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

    Definition Classes
    AnyRef → Any
  15. 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

    Definition Classes
    Statistic
  16. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  17. def labels(): String

    Generate a header of statistical labels as a string.

    Generate a header of statistical labels as a string.

    Definition Classes
    Statistic
  18. var lastTime: Double

    the time of previous observation

  19. def max: Double

    Get the maximum value in sample.

    Get the maximum value in sample.

    Definition Classes
    Statistic
  20. var maxX: Double

    the maximum sample value

    the maximum sample value

    Attributes
    protected
    Definition Classes
    Statistic
  21. def mean: Double

    Compute/estimate the sample mean.

    Compute/estimate the sample mean.

    Definition Classes
    Statistic
  22. def min: Double

    Get the minimum value in sample.

    Get the minimum value in sample.

    Definition Classes
    Statistic
  23. var minX: Double

    the minimum sample value

    the minimum sample value

    Attributes
    protected
    Definition Classes
    Statistic
  24. def ms: Double

    Compute/estimate the mean square (ms).

    Compute/estimate the mean square (ms).

    Definition Classes
    Statistic
  25. var n: Int

    The number of samples

    The number of samples

    Attributes
    protected
    Definition Classes
    Statistic
  26. val name: String

    the name for this statistic (e.

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

    Definition Classes
    TimeStatisticStatistic
  27. final def ne(arg0: AnyRef): Boolean

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

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

    Definition Classes
    AnyRef
  30. def num: Int

    Get the number of samples.

    Get the number of samples.

    Definition Classes
    Statistic
  31. def rms: Double

    Compute/estimate the root mean square (rms).

    Compute/estimate the root mean square (rms).

    Definition Classes
    Statistic
  32. def stddev: Double

    Compute/estimate the sample standard deviation.

    Compute/estimate the sample standard deviation.

    Definition Classes
    Statistic
  33. var sum: Double

    Sum of the sample values

    Sum of the sample values

    Attributes
    protected
    Definition Classes
    Statistic
  34. var sumSq: Double

    Sum of the sample values squared

    Sum of the sample values squared

    Attributes
    protected
    Definition Classes
    Statistic
  35. final def synchronized[T0](arg0: ⇒ T0): T0

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

    Disable the tally method (it is for sample statistics, not time persistent statistics.

    Disable the tally method (it is for sample statistics, not time persistent statistics.

    x

    the value to tally

    Definition Classes
    TimeStatisticStatistic
  37. 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
  38. 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.

    Definition Classes
    Statistic
  39. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws()

Inherited from Statistic

Inherited from Error

Inherited from AnyRef

Inherited from Any