OneSampleTTest.SampleSize 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#
public int SampleSize { get; set; }

Property Value

Int32

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 sample size is less than one.

See Also