The Statistic
class is used to collect values and compute sample statistics on them (e.g., waiting time). Contrast with TimeStatistic
defined in TimeStatistic.scala.
Value parameters
- name
-
the name for this statistic (e.g., 'waitingTime')
- unbiased
-
whether the estimators are restricted to be unbiased
Attributes
- Companion
- object
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
class TimeStatistic
Members list
Value members
Concrete methods
Compute the confidence interval half-width for the given confidence level using the t-distribution.
Compute the confidence interval half-width for the given confidence level using the t-distribution.
Value parameters
- p
-
the confidence level
Attributes
Compute the confidence interval half-width for the given confidence level using the z-distribution.
Compute the confidence interval half-width for the given confidence level using the z-distribution.
Value parameters
- p
-
the confidence level
Attributes
Compute/estimate the mean absolue value (ma), e.g., Mean Absolute Error (MAE).
Compute/estimate the mean absolue value (ma), e.g., Mean Absolute Error (MAE).
Attributes
Return the maximum value in sample.
Return the maximum value in sample.
Attributes
Compute/estimate the sample mean.
Compute/estimate the sample mean.
Attributes
Return the minimum value in sample.
Return the minimum value in sample.
Attributes
Compute/estimate the mean square (ms), e.g., Mean Square Error (MSE).
Compute/estimate the mean square (ms), e.g., Mean Square Error (MSE).
Attributes
Return the number of samples as a double.
Return the number of samples as a double.
Attributes
Return the number of samples.
Return the number of samples.
Attributes
Reset accumulators.
Reset accumulators.
Attributes
Compute/estimate the root mean square (rms), e.g., Root Mean Square Error (RMSE).
Compute/estimate the root mean square (rms), e.g., Root Mean Square Error (RMSE).
Attributes
Set accumulators.
Set accumulators.
Attributes
Show the values of this collector's accumulators.
Show the values of this collector's accumulators.
Attributes
Return the summary statistics as a row/Array.
Return the summary statistics as a row/Array.
Attributes
Compute/estimate the sample standard deviation.
Compute/estimate the sample standard deviation.
Attributes
Tally the next value and update accumulators.
Tally the next value and update accumulators.
Value parameters
- x
-
the value to tally (e.g., time in sytem)
Attributes
Tally the next vector of values and update accumulators.
Tally the next vector of values and update accumulators.
Value parameters
- v
-
the vector of values to tally (e.g., time in sytem)
Attributes
Generate a row of statistical results as a string.
Generate a row of statistical results as a string.
Attributes
- Definition Classes
-
Any
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.
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.