HypothesisTests.FriedmanTest Method

Definition

Namespace: Numerics.NET.Statistics
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 10.7.0

Overload List

FriedmanTest(Matrix<Double>) Returns a Friedman repeated-measures nonparametric test for the specified matrix of repeated-measures data.
FriedmanTest(Vector<Double>[]) Returns a Friedman repeated-measures nonparametric test for the specified treatment vectors.
FriedmanTest(Vector<Double>, ICategoricalVector, ICategoricalVector) Returns a Friedman repeated-measures nonparametric test for long-form repeated-measures data.

FriedmanTest(Matrix<Double>)

Returns a Friedman repeated-measures nonparametric test for the specified matrix of repeated-measures data.
C#
public static FriedmanTest FriedmanTest(
	Matrix<double> data
)

Parameters

data  Matrix<Double>
A matrix whose rows correspond to matched blocks or subjects and whose columns correspond to treatments or conditions.

Return Value

FriedmanTest
A Friedman test.

FriedmanTest(Vector<Double>[])

Returns a Friedman repeated-measures nonparametric test for the specified treatment vectors.
C#
public static FriedmanTest FriedmanTest(
	params Vector<double>[] treatments
)

Parameters

treatments  Vector<Double>[]
A sequence of vectors containing the treatment values. Each vector represents one treatment, and corresponding indexes across vectors represent the same block or subject.

Return Value

FriedmanTest
A Friedman test.

FriedmanTest(Vector<Double>, ICategoricalVector, ICategoricalVector)

Returns a Friedman repeated-measures nonparametric test for long-form repeated-measures data.
C#
public static FriedmanTest FriedmanTest(
	Vector<double> values,
	ICategoricalVector treatments,
	ICategoricalVector blocks
)

Parameters

values  Vector<Double>
A vector containing the observed values.
treatments  ICategoricalVector
A categorical vector that identifies the treatment or condition for each value.
blocks  ICategoricalVector
A categorical vector that identifies the matched block or subject for each value.

Return Value

FriedmanTest
A Friedman test.

See Also