Uses of Interface
microsim.statistics.DoubleSource
Package
Description
-
Uses of DoubleSource in microsim.statistics
Modifier and TypeMethodDescriptionvoid
TimeSeries.addSeries
(@NonNull DoubleSource source, @NonNull Enum<?> valueID) Adds a new series to the existing one.ModifierConstructorDescriptionDouble
(@NonNull DoubleSource source) Creates a statistic probe on a collection ofDoubleSource
objects.Double
(@NonNull DoubleSource source, @NonNull Enum<?> valueID) Creates a statistic probe on a collection ofDoubleSource
objects. -
Uses of DoubleSource in microsim.statistics.functions
Modifier and TypeClassDescriptionclass
This class computes the number of values in an array taken from a data source.class
This class computes the maximum value in an array of source values.static class
MaxFunction operating on double source values.static class
MaxFunction operating on integer source values.static class
MaxFunction operating on long source values.class
A MixFunction object is to collect data over time, computing some statistics on the fly, without storing the data in memory.static class
An implementation of the Memoryless Series class, which manages double type data sources.static class
An implementation of the Memoryless Series class, which manages integer type data sources.static class
An implementation of the Memoryless Series class, which manages long type data sources.class
This class computes the average value of an array of values taken from a data source.class
This class computes the average and variance value of an array of values taken from a data source.class
This class computes the minimum value in an array of source values.static class
MinFunction operating on double source values.static class
MinFunction operating on integer source values.static class
MinFunction operating on long source values.class
A MixFunction object is to collect data over time, computing some statistics on the fly, without storing the data in memory.static class
An implementation of the Memoryless Series class, which manages double type data sources.static class
An implementation of the Memoryless Series class, which manages integer type data sources.static class
An implementation of the Memoryless Series class, which manages long type data sources.class
This class computes the average of the last given number of values in an array taken from a data source.class
This class computes the average of the last values collected from a data source.class
A MixFunction object is to collect data over time, computing some statistics on the fly, without storing the data in memory.static class
An implementation of the Memoryless Series class, which manages double type data sources.static class
An implementation of the Memoryless Series class, which manages integer type data sources.static class
An implementation of the Memoryless Series class, which manages long type data sources.class
This function calculates percentiles (p1,p5,p10-p90,p95,p99) for a given cross-section of data.class
This class computes the sum of an array of source values.static class
SumFunction operating on double source values.static class
SumFunction operating on integer source values.static class
SumFunction operating on long source values.Modifier and TypeFieldDescriptionprotected DoubleSource
MovingAverageTraceFunction.dblSource
protected DoubleSource
MaxTraceFunction.Double.target
protected DoubleSource
MinTraceFunction.Double.target
protected DoubleSource
MultiTraceFunction.Double.target
ModifierConstructorDescriptionDouble
(@NonNull DoubleSource source, @NonNull Enum<?> valueID) Creates a basic statistic probe on aDoubleSource
object.Double
(@NonNull DoubleSource source, @NonNull Enum<?> valueID) Creates a basic statistic probe on aDoubleSource
object.Double
(@NonNull DoubleSource source, @NonNull Enum<?> valueID) Creates a basic statistic probe on aDoubleSource
object.MovingAverageTraceFunction
(@NonNull DoubleSource source, @NonNull Enum<?> valueID, int windowSize) Creates a basic statistic probe on aDoubleSource
object. -
Uses of DoubleSource in microsim.statistics.reflectors
Modifier and TypeClassDescriptionclass
Employs Java reflection to call objects' methods which return double values. -
Uses of DoubleSource in microsim.statistics.regression
Modifier and TypeMethodDescriptionLinearRegression.computeScore
(@NonNull MultiKeyCoefficientMap coeffMultiMap, @NonNull DoubleSource iDblSrc, @NonNull Class<T> enumTypeDouble, @NonNull ObjectSource iObjSrc, @NonNull Class<U> enumTypeObject) Requires the implementation of the ObjectSource to ascertain whether any additional conditioning regression keys are used (e.g.static <T extends Enum<T>>
doubleLinearRegression.computeScore
(@NonNull MultiKeyCoefficientMap coeffMultiMap, @NonNull DoubleSource iDblSrc, Class<T> enumType) Uses reflection to obtain information from the iDblSrc object, so it is possibly slow.static <T extends Enum<T>>
doubleLinearRegression.computeScore
(@NonNull MultiKeyCoefficientMap coeffMultiMap, @NonNull DoubleSource iDblSrc, Class<T> enumType, boolean singleKeyCoefficients) Use this method when the underlying agent does not have any additional conditioning regression keys (such as the gender or civil status) to determine the appropriate regression co-efficients, i.e.<T extends Enum<T>>
booleanLogitRegression.event
(@NonNull DoubleSource iDblSrc, @NonNull Class<T> enumType) LogitRegression.event
(@NonNull DoubleSource iDblSrc, @NonNull Class<T> enumTypeDbl, @NonNull ObjectSource iObjSrc, @NonNull Class<U> enumTypeObj) <T extends Enum<T>>
booleanProbitRegression.event
(@NonNull DoubleSource iDblSrc, @NonNull Class<T> enumType) ProbitRegression.event
(@NonNull DoubleSource iDblSrc, @NonNull Class<T> enumTypeDbl, @NonNull ObjectSource iObjSrc, @NonNull Class<U> enumTypeObj) MultiLogitRegression.eventType
(DoubleSource iDblSrc, Class<E> Regressors, Class<T> enumType) MultiProbitRegression.eventType
(DoubleSource iDblSrc, Class<E> Regressors, Class<T> enumType) <E extends Enum<E>>
doubleMultiLogitRegression.getLogitTransformOfScore
(T event, @NonNull DoubleSource iDblSrc, @NonNull Class<E> Regressors) <T extends Enum<T>>
doubleLogitRegression.getProbability
(@NonNull DoubleSource iDblSrc, @NonNull Class<T> enumType) LogitRegression.getProbability
(@NonNull DoubleSource iDblSrc, @NonNull Class<T> enumTypeDbl, @NonNull ObjectSource iObjSrc, @NonNull Class<U> enumTypeObj) <T extends Enum<T>>
doubleProbitRegression.getProbability
(@NonNull DoubleSource iDblSrc, @NonNull Class<T> enumType) ProbitRegression.getProbability
(@NonNull DoubleSource iDblSrc, @NonNull Class<T> enumTypeDbl, @NonNull ObjectSource iObjSrc, @NonNull Class<U> enumTypeObj) <E extends Enum<E>>
doubleMultiProbitRegression.getProbitTransformOfScore
(T event, DoubleSource iDblSrc, @NonNull Class<E> Regressors) <T extends Enum<T>>
doubleLinearRegression.getScore
(@NonNull DoubleSource iDblSrc, @NonNull Class<T> enumType) LinearRegression.getScore
(@NonNull DoubleSource iDblSrc, @NonNull Class<T> enumTypeDouble, @NonNull ObjectSource iObjSrc, @NonNull Class<U> enumTypeObject) Requires the implementation of the ObjectSource to ascertain whether any additional conditioning regression keys are used (e.g.<T extends Enum<T>>
doubleLinReg.getScore
(@NonNull DoubleSource iDblSrc, @NonNull Class<T> enumType) LinReg.getScore
(@NonNull DoubleSource iDblSrc, @NonNull Class<T> enumTypeDouble, @NonNull ObjectSource iObjSrc, @NonNull Class<U> enumTypeObject) -
Uses of DoubleSource in microsim.statistics.weighted.functions
Modifier and TypeClassDescriptionclass
This class computes the (weighted) average (mean) value of an array of values taken from a data source, weighted by corresponding weights: weighted mean = sum (values * weights) / sum (weights) Note that the array of weights must have the same length as the array of values, otherwise an exception will be thrown.class
This class computes the sum of an array of source values, with each element of the array multiplied by the weight of the source (the source must implement theWeight
interface).static class
SumFunction operating on weighted double source values.static class
SumFunction operating on weighted integer source values.static class
SumFunction operating on weighted long source values.