VarianceAccumulator<T> Structure

Represents an accumulator that computes the variance of a sequence.

Definition

Namespace: Numerics.NET.DataAnalysis.Accumulators
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3
C#
public struct VarianceAccumulator<T> : IAccumulator<T>
Inheritance
Object  →  ValueType  →  VarianceAccumulator<T>
Implements
IAccumulator<T>

Type Parameters

T
The type of the input and output.

Properties

CentralSumOfSquares Gets the accumulated sum of squares centered around the mean of the sequence.
Count Gets the accumulated number of non-missing values in the sequence.
HasValue Gets whether the accumulator has received enough data to compute a value.
Mean Gets the accumulated mean of the sequence.
PopulationStandardDeviation Gets the accumulated population standard deviation of the sequence.
PopulationVariance Gets the accumulated population variance of the sequence.
SampleStandardDeviation Gets the accumulated sample standard deviation of the sequence.
SampleVariance Gets the accumulated sample variance of the sequence.
SumOfSquares Gets the accumulated sum of squares of the sequence.

Methods

Add Updates the accumulator with the specified value.
AddMissing Updates the accumulator with a missing value.
EqualsIndicates whether this instance and a specified object are equal.
(Inherited from ValueType)
GetHashCodeReturns the hash code for this instance.
(Inherited from ValueType)
GetTypeGets the Type of the current instance.
(Inherited from Object)
Remove Updates the accumulator by removing the specified value.
RemoveMissing Updates the accumulator by removing a missing value.
Reset Resets the accumulator to its initial state.
ToStringReturns the fully qualified type name of this instance.
(Inherited from ValueType)

See Also