OneSampleTTest.SampleStandardDeviation Property

Gets or sets the standard deviation of the sample.

Definition

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

Property Value

Double
The standard deviation of the sample.

Remarks

This property can only be set if the Sample has not been set. The standard deviation must be greater than or equal to zero.

Exceptions

InvalidOperationException

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

ArgumentOutOfRangeException

The new standard deviation is less than zero.

See Also