OneSampleChiSquareTest.SampleVariance Property

Gets or sets the variance of the sample.

Definition

Namespace: Numerics.NET.Statistics.Tests
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.0
C#
public double SampleVariance { get; set; }

Property Value

Double
The variance of the sample.

Exceptions

InvalidOperationException

An attempt is made to set the sample variance for a test based on a Vector<T> sample. Set Sample to null before setting this property.

ArgumentOutOfRangeException

The new variance is less than zero.

See Also