SummaryStatistics Class

Tracks summary statistics for a stream of data points.

Definition

Namespace: Meta.Numerics.Statistics
Assembly: Meta.Numerics (in Meta.Numerics.dll) Version: 4.2.0+6d77d64445f7d5d91b12e331399c4362ecb25333
C#
public sealed class SummaryStatistics
Inheritance
Object    SummaryStatistics

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.

Constructors

SummaryStatistics Initializes a new summary for an empty sample.
SummaryStatistics(IEnumerableDouble) Initializes a new summary of the given sample values.

Properties

Count Gets the number of values observed.
Maximum Gets the largest value observed.
Mean Gets the mean of the observed data.
Minimum Gets the smallest value observed.
PopulationMean Estimates the mean of the underlying population.
PopulationStandardDeviation Estimates the standard deviation of the underlying population.
PopulationVariance Estimates the variance of the underlying population.
Skewness Gets the skewness of the observed data.
StandardDeviation Gets the standard deviation of the observed data.
Variance Get the variance of the observed data.

Methods

Add(Double) Adds a new value to the sample.
Add(IEnumerableDouble) Adds new values to the sample.
Combine Combines two sample summaries.
EqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetTypeGets the Type of the current instance.
(Inherited from Object)
ToStringReturns a string that represents the current object.
(Inherited from Object)

See Also