HypothesisTests.StuartMaxwellTest Method

Constructs a new StuartMaxwellTest.

Definition

Namespace: Extreme.Statistics
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
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.

ArgumentExceptionsample1 and sample2 do not have the same number of levels.
DimensionMismatchExceptionsample1 and sample2 do not have the same number of observations.

See Also