One Sample TTest.Sample Size Property
Gets or sets the size of the sample.
Definition
Namespace: Extreme.Statistics.Tests
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
C#
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
public int SampleSize { get; set; }
Property Value
Int32Remarks
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 sample size is less than one. |