T - type of the valuepublic class PersistentStatistic<T extends org.djunits.value.vdouble.scalar.AbstractDoubleScalarRel<?,T>> extends Object implements org.djunits.value.vdouble.scalar.DoubleScalarInterface
Copyright (c) 2013-2016 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.
| Constructor and Description |
|---|
PersistentStatistic(Persistent<?,T,?> persistent)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
ConfidenceInterval<T> |
getConfidenceInterval(double alpha) |
ConfidenceInterval<T> |
getConfidenceInterval(double alpha,
IntervalSide side) |
double |
getInUnit() |
T |
getMax() |
T |
getMean() |
T |
getMin() |
long |
getN() |
double |
getSI() |
T |
getStDev() |
T |
getSum() |
double |
getVariance() |
public PersistentStatistic(Persistent<?,T,?> persistent)
persistent - the persistent statistic that gathers the datapublic ConfidenceInterval<T> getConfidenceInterval(double alpha)
alpha - confidence levelpublic ConfidenceInterval<T> getConfidenceInterval(double alpha, IntervalSide side)
alpha - confidence levelside - side of confidence intervalpublic T getSum()
public T getMin()
public T getMax()
public T getMean()
public T getStDev()
public double getVariance()
public long getN()
public double getSI()
getSI in interface org.djunits.value.vdouble.scalar.DoubleScalarInterfacepublic double getInUnit()
getInUnit in interface org.djunits.value.vdouble.scalar.DoubleScalarInterfaceCopyright © 2014–2016 Delft University of Technology. All rights reserved.