QuickStatistics Type

Uses the method of running sums to calculate mean, sample standard deviation, and standard deviation of a data set.

See wikipedia article "Standard deviation".

Constructors

Constructor Description

QuickStatistics()

Full Usage: QuickStatistics()

Instance members

Instance member Description

this.Add

Full Usage: this.Add

Parameters:
    x : float - The value of the data point.

Adds a data point to the statistics.

x : float

The value of the data point.

this.AddRange

Full Usage: this.AddRange

Parameters:
    values : IEnumerable<float> - The data points to add.

Adds data points to the statistics.

values : IEnumerable<float>

The data points to add.

this.Clear

Full Usage: this.Clear

Initializes the statistics.

this.Max

Full Usage: this.Max

Returns: float

Returns the maximum of the data values.

Returns: float

this.Mean

Full Usage: this.Mean

Returns: float

Returns the mean (average) of the data values.

Returns: float

this.Min

Full Usage: this.Min

Returns: float

Returns the minimum of the data values.

Returns: float

this.N

Full Usage: this.N

Returns: float

Returns the number of data values that were added.

Returns: float

this.SampleStandardDeviation

Full Usage: this.SampleStandardDeviation

Returns: float

Returns the sample standard deviation: square root of the error sum of squares divided by (N-1).

Returns: float

this.StandardDeviation

Full Usage: this.StandardDeviation

Returns: float

Returns the standard deviation: square root of the error sum of squares divided by N.

Returns: float