The TimeStatistic
class is used to collect values and compute time-persistent statistics on them (e.g., Number in Queue).
Value parameters
- _lastTime
-
the time of last observation
- _startTime
-
the time observation began
- name
-
the name for this statistic (e.g., 'numberInQueue' or 'tellerQ')
Attributes
- See also
-
staff.unak.is/andy/Year%203%20Simulation/Laboratories/v4manual/internal.htm
- Companion
- object
- Graph
-
- Supertypes
Members list
Value members
Concrete methods
Accumulate the next value weighted by its time duration and update accumulators.
Accumulate the next value weighted by its time duration and update accumulators.
Value parameters
- t
-
the time of the observation (e.g., event times)
- x
-
the value to accumulate (e.g., system occupancy)
Attributes
Return the last time statistics were recorded by this collector.
Return the last time statistics were recorded by this collector.
Attributes
Compute/estimate the time-weighted mean.
Show the values of this collector's accumulators.
Return the time observation began.
Return the time observation began.
Attributes
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.
Value parameters
- x
-
the value to tally
Attributes
- Definition Classes
Inherited 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
- Inherited from:
- Statistic
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
- Inherited from:
- Statistic
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
- Inherited from:
- Statistic
Return the maximum value in sample.
Return the minimum value in sample.
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
- Inherited from:
- Statistic
Return the number of samples as a double.
Return the number of samples.
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
- Inherited from:
- Statistic
Set accumulators.
Return the summary statistics as a row/Array.
Compute/estimate the sample standard deviation.
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
- Inherited from:
- Statistic