Gets or sets the size of the sample.

Namespace: Extreme.Statistics.Tests
Assembly: Extreme.Numerics (Extreme.Numerics)

Syntax

Visual Basic (Declaration)
Public Property SampleSize As Integer
C#
public int SampleSize { get; set; }
C++
public:
int SampleSize {
	int get ();
	void set (int value);
}

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

ExceptionCondition
InvalidOperationExceptionAn attempt is made to set the sample mean for a test based on a NumericalVariable sample. Set Sample to nullNothingnullptr before setting this property.
ArgumentOutOfRangeExceptionThe new sample size is less than one.