HypothesisTests.StuartMaxwellTest Method

Constructs a new StuartMaxwellTest.

Definition

Namespace: Numerics.NET.Statistics
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3
C#
public static StuartMaxwellTest StuartMaxwellTest(
	ICategoricalVector sample1,
	ICategoricalVector sample2
)

Parameters

sample1  ICategoricalVector
A CategoricalVector<T> that represents the first sample.
sample2  ICategoricalVector
A CategoricalVector<T> that represents the second sample.

Return Value

StuartMaxwellTest

Remarks

Both samples must be categorical samples with the same number of levels, and they must have the same length.

Exceptions

ArgumentNullException

sample1 is null.

-or-

sample2 is null.

ArgumentException

sample1 and sample2 do not have the same number of levels.

DimensionMismatchException

sample1 and sample2 do not have the same number of observations.

See Also