Click or drag to resize

SummaryStatistics Class

Tracks summary statistics for a stream of data points.
Inheritance Hierarchy
SystemObject
  Meta.Numerics.StatisticsSummaryStatistics

Namespace:  Meta.Numerics.Statistics
Assembly:  Meta.Numerics (in Meta.Numerics.dll) Version: 4.1.4
Syntax
public sealed class SummaryStatistics

The SummaryStatistics type exposes the following members.

Constructors
Properties
  NameDescription
Public propertyCount
Gets the number of values observed.
Public propertyMaximum
Gets the largest value observed.
Public propertyMean
Gets the mean of the observed data.
Public propertyMinimum
Gets the smallest value observed.
Public propertyPopulationMean
Estimates the mean of the underlying population.
Public propertyPopulationStandardDeviation
Estimates the standard deviation of the underlying population.
Public propertyPopulationVariance
Estimates the variance of the underlying population.
Public propertySkewness
Gets the skewness of the observed data.
Public propertyStandardDeviation
Gets the standard deviation of the observed data.
Public propertyVariance
Get the variance of the observed data.
Top
Methods
  NameDescription
Public methodAdd(IEnumerableDouble)
Adds new values to the sample.
Public methodAdd(Double)
Adds a new value to the sample.
Public methodStatic memberCombine
Combines two sample summaries.
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 methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Remarks

Unlike the methods of the Univariate class, which by and large expect to work with sample data that is stored entirely within memory, this class is designed to compute the most important summary statistics on streamed data, i.e. individual data points which need only be presented once and may afterwards be discarded.

The Combine(SummaryStatistics, SummaryStatistics) method allows you to combine two SummaryStatistics objects formed by processing disjoint data streams to obtain a combined SummaryStatistics object which has accurate summary statistics for the combined data set.

See Also