One Sample TTest.Sample Size Property
Gets or sets the size of the sample.
Definition
Namespace: Numerics.NET.Statistics.Tests
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3
C#
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3
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
Invalid | 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. |
Argument | The new sample size is less than one. |