Gets or sets the variance of the sample.
Namespace: Extreme.Statistics.Tests
Assembly: Extreme.Numerics (Extreme.Numerics)
Syntax
| Visual Basic (Declaration) |
|---|
Public Property SampleVariance As Double |
| C# |
|---|
public double SampleVariance { get; set; } |
| C++ |
|---|
public: double SampleVariance { double get (); void set (double value); } |
Value
The variance of the sample.
Exceptions
| Exception | Condition |
|---|---|
| InvalidOperationException | An attempt is made to set the sample variance for a test based on a NumericalVariable sample. Set Sample to nullNothingnullptr before setting this property. |
| ArgumentOutOfRangeException | The new variance is less than zero. |