Gets the variance of the distribution.

Namespace:  CenterSpace.NMath.Stats
Assembly:  NMathStats (in NMathStats.dll) Version: 3.4.0.0

Syntax

C#
public double Variance { get; }
Visual Basic (Declaration)
Public ReadOnly Property Variance As Double
Visual C++
public:
virtual property double Variance {
	double get () sealed;
}

Implements

IRandomVariableMoments..::.Variance

Remarks

The variance of the distribution is the standard deviation squared. If the second degrees of freedom for the distribution is less than 5, the variance is undefined. In this case Double.NaN is returned.

See Also