SummaryStatistics Class |
Namespace: Meta.Numerics.Statistics
The SummaryStatistics type exposes the following members.
Name | Description | |
---|---|---|
SummaryStatistics |
Initializes a new summary for an empty sample.
| |
SummaryStatistics(IEnumerableDouble) |
Initializes a new summary of the given sample values.
|
Name | Description | |
---|---|---|
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.
|
Name | Description | |
---|---|---|
Add(IEnumerableDouble) |
Adds new values to the sample.
| |
Add(Double) |
Adds a new value to the sample.
| |
Combine |
Combines two sample summaries.
| |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
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.