Click or drag to resize

DistributionListener Class

Represents a main distribution characteristic determinator. http://en.wikipedia.org/wiki/Probability_distribution This class is IDataQueue listener, so it useful to calculate statistics on indicators history. For user specific uses, use Distribution class. It will be useful for finding quantiles, averages, moments, distribution function and etc. It use AvlTree inside, so it's useful only on on-line dynamic data, where count of elements more than 50.
Inheritance Hierarchy
SystemObject
  FinAnalysis.ListenersDistributionListener

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

The DistributionListener type exposes the following members.

Constructors
  NameDescription
Public methodDistributionListener
Initializes a new instance of Distribution Listener class.
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 propertyItem
Get estimation of Distribution Function http://en.wikipedia.org/wiki/Cumulative_distribution_function
Public propertyKurtosis
Get Excess Kurtosis of stored set of values. http://en.wikipedia.org/wiki/Kurtosis
Public propertyMax
Get max value stored in the set.
Public propertyMedian
Get Median of stored set of values. http://en.wikipedia.org/wiki/Median
Public propertyMidrange
Get midrange of stored set of values. http://en.wikipedia.org/wiki/Average#Types
Public propertyMin
Get min value stored in the set.
Public propertyQuadraticMean
Get Quadratic Mean. http://en.wikipedia.org/wiki/Quadratic_mean
Public propertyRange
Get range of stored set. Max value - Min value.
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 methodCumulativeDistribution
Get estimation of Distribution Function http://en.wikipedia.org/wiki/Cumulative_distribution_function
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodGetApproximatedQuantile
Get linearly approximated estimation of distribution's quantile http://en.wikipedia.org/wiki/Quantile
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetOrderStatistic
Get Order Statistic of stored set http://en.wikipedia.org/wiki/Order_statistic
Public methodGetQuantile
Get estimation of distribution's Quantile http://en.wikipedia.org/wiki/Quantile
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