Click or drag to resize
MovingStatistics Class
Running statistics over a window of data, allows updating by adding values.
Inheritance Hierarchy
SystemObject
  MathNet.Numerics.StatisticsMovingStatistics

Namespace: MathNet.Numerics.Statistics
Assembly: MathNet.Numerics (in MathNet.Numerics.dll) Version: 3.7
Syntax
C#
public class MovingStatistics

The MovingStatistics type exposes the following members.

Constructors
Properties
  NameDescription
Public propertyCount
Gets the total number of samples.
Public propertyMaximum
Returns the maximum value in the sample data. Returns NaN if data is empty or if any entry is NaN.
Public propertyMean
Evaluates the sample mean, an estimate of the population mean. Returns NaN if data is empty or if any entry is NaN.
Public propertyMinimum
Returns the minimum value in the sample data. Returns NaN if data is empty or if any entry is NaN.
Public propertyPopulationStandardDeviation
Evaluates the standard deviation from the provided full population. On a dataset of size N will use an N normalizer and would thus be biased if applied to a subset. Returns NaN if data is empty or if any entry is NaN.
Public propertyPopulationVariance
Evaluates the variance from the provided full population. On a dataset of size N will use an N normalizer and would thus be biased if applied to a subset. Returns NaN if data is empty or if any entry is NaN.
Public propertyStandardDeviation
Estimates the unbiased population standard deviation from the provided samples. On a dataset of size N will use an N-1 normalizer (Bessel's correction). Returns NaN if data has less than two entries or if any entry is NaN.
Public propertyVariance
Estimates the unbiased population variance from the provided samples. On a dataset of size N will use an N-1 normalizer (Bessel's correction). Returns NaN if data has less than two entries or if any entry is NaN.
Public propertyWindowSize
Top
Methods
  NameDescription
Public methodPush
Update the running statistics by adding another observed sample (in-place).
Public methodPushRange
Update the running statistics by adding a sequence of observed sample (in-place).
Top
See Also