Gets or sets the size of the sample.
Namespace: Extreme.Statistics.Tests
Assembly: Extreme.Numerics (Extreme.Numerics)
Syntax
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
| Exception | Condition |
|---|---|
| InvalidOperationException | An attempt is made to set the sample mean for a test based on a NumericalVariable sample. Set Sample to nullNothingnullptr before setting this property. |
| ArgumentOutOfRangeException | The new sample size is less than one. |