Class PersistentStatistic<U extends Unit<U>,T extends DoubleScalarRel<U,T>>
java.lang.Object
org.opentrafficsim.kpi.sampling.indicator.PersistentStatistic<U,T>
- Type Parameters:
U- the unit typeT- type of the value
@Deprecated
public class PersistentStatistic<U extends Unit<U>,T extends DoubleScalarRel<U,T>>
extends Object
Deprecated.
Persistent statistic.
Copyright (c) 2013-2024 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.
- Author:
- Alexander Verbraeck, Peter Knoppers, Wouter Schakel
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetConfidenceInterval(double alpha) Deprecated.Returns confidence interval.getConfidenceInterval(double alpha, IntervalSide side) Deprecated.Returns confidence interval.getMax()Deprecated.Returns the maximum.getMean()Deprecated.Returns the mean.getMin()Deprecated.Returns the minimum.longgetN()Deprecated.Return n.getStDev()Deprecated.Returns the standard deviation.getSum()Deprecated.Returns the sum.doubleDeprecated.Returns the variance.final StringtoString()Deprecated.
-
Constructor Details
-
PersistentStatistic
Deprecated.Constructor.- Parameters:
persistent- the persistent statistic that gathers the data
-
-
Method Details
-
getConfidenceInterval
Deprecated.Returns confidence interval.- Parameters:
alpha- confidence level- Returns:
- both-side confidence interval
-
getConfidenceInterval
Deprecated.Returns confidence interval.- Parameters:
alpha- confidence levelside- side of confidence interval- Returns:
- confidence interval
-
getSum
Deprecated.Returns the sum.- Returns:
- sum.
-
getMin
Deprecated.Returns the minimum.- Returns:
- min.
-
getMax
Deprecated.Returns the maximum.- Returns:
- max.
-
getMean
Deprecated.Returns the mean.- Returns:
- mean.
-
getStDev
Deprecated.Returns the standard deviation.- Returns:
- stDev.
-
getVariance
public double getVariance()Deprecated.Returns the variance.- Returns:
- variance.
-
getN
public long getN()Deprecated.Return n.- Returns:
- n.
-
toString
Deprecated.
-