Click or drag to resize

StatisticsListener Class

Represents a Statistics listener of IDataQueue. Calculates simple statistics of time series. It will be useful to get some statics from indicators history.
Inheritance Hierarchy
SystemObject
  FinAnalysis.ListenersStatisticsListener

Namespace:  FinAnalysis.Listeners
Assembly:  FinAnalysis (in FinAnalysis.dll) Version: 2.1.13-cc97e13414b71fde928e8f3a546ac1daf26f295f
Syntax
C#
public class StatisticsListener : IDataQueueListener<double>

The StatisticsListener type exposes the following members.

Constructors
  NameDescription
Public methodStatisticsListener
Default constructor. Initializes all fields to zeroes.
Top
Properties
  NameDescription
Public propertyArithmeticMean
Get Arithmetic Mean. http://en.wikipedia.org/wiki/Average#Arithmetic_mean
Public propertyCoefficientOfVariation
Get Coefficient Of Variation of stored set of values. http://en.wikipedia.org/wiki/Coefficient_of_variation
Public propertyCount
Get the number of elements stored in the set.
Public propertyExpectedValue
Get estimation of distribution's Expected Value. http://en.wikipedia.org/wiki/Expected_value
Public propertyFirstRawMoment
Get estimation of distribution's First Raw Moment. http://en.wikipedia.org/wiki/Moment_(mathematics)
Public propertyFourthCentralMoment
Get estimation of distribution's Fourth Central Moment. http://en.wikipedia.org/wiki/Central_moment
Public propertyFourthRawMoment
Get estimation of distribution's Fourth Raw Moment. http://en.wikipedia.org/wiki/Moment_(mathematics)
Public propertyGeometricMean
Get Geometric Mean. http://en.wikipedia.org/wiki/Average#Geometric_mean
Public propertyHarmonicMean
Get Harmonic Mean. http://en.wikipedia.org/wiki/Average#Harmonic_mean
Public propertyKurtosis
Get Excess Kurtosis of stored set of values. http://en.wikipedia.org/wiki/Kurtosis
Public propertyQuadraticMean
Get Quadratic Mean. http://en.wikipedia.org/wiki/Quadratic_mean
Public propertySecondCentralMoment
Get estimation of distribution's Second Central Moment. http://en.wikipedia.org/wiki/Central_moment
Public propertySecondRawMoment
Get estimation of distribution's Second Raw Moment. http://en.wikipedia.org/wiki/Moment_(mathematics)
Public propertySkewness
Get Skewness of stored set of values. http://en.wikipedia.org/wiki/Skewness
Public propertyStandardDeviation
Get distribution's Standard Deviation, same as StandardDeviationPopulation. http://en.wikipedia.org/wiki/Standard_Deviation
Public propertyStandardDeviationPopulation
Get distribution's Standard Deviation. http://en.wikipedia.org/wiki/Standard_Deviation
Public propertyStandardDeviationSample
Get estimation of distribution's Standard Deviation. http://en.wikipedia.org/wiki/Standard_Deviation
Public propertySum
Get sum of values stored in the set.
Public propertySumOfAbsoluteValues
Get sum absolute of values stored in the set.
Public propertySumOfSquares
Returns sum of squares.
Public propertyThirdCentralMoment
Get estimation of distribution's Third Central Moment. http://en.wikipedia.org/wiki/Central_moment
Public propertyThirdRawMoment
Get estimation of distribution's Third Raw Moment. http://en.wikipedia.org/wiki/Moment_(mathematics)
Public propertyVariance
Get distribution's Variance, same as VariancePopulation. http://en.wikipedia.org/wiki/Variance
Public propertyVariancePopulation
Get distribution's Variance. http://en.wikipedia.org/wiki/Variance
Public propertyVarianceSample
Get estimation of distribution's Variance. http://en.wikipedia.org/wiki/Variance
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodOnPop
IDataQueue will call OnPop every time, when queue drop some element.
Public methodOnPush
IDataQueue will call OnPush every time, when queue store some element.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also