One Way Anova Model.Get Tukey Test Method
Returns Tukey's HSD test for the pairwise comparison of two group means.
Definition
Namespace: Numerics.NET.Statistics
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4
C#
An AnovaPostHocTest object that represents Tukey's HSD for the specified groups.
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4
public AnovaPostHocTest GetTukeyTest(
int index1,
int index2
)
Parameters
Return Value
AnovaPostHocTestAn AnovaPostHocTest object that represents Tukey's HSD for the specified groups.
Remarks
In principle, Tukey's test is only valid for equal group sample sizes. If the samples sizes are not equal, their harmonic mean is used.
Exceptions
Invalid | The Fit() method has not been called. |
Argument | index1 is less than zero or greater than or equal to the number of groups. -or- index2 is less than zero or greater than or equal to the number of groups. |