One Way Anova Model.Get Tukey Test Method
Returns Tukey's HSD test for the pairwise comparison of two group means.
Definition
Namespace: Extreme.Statistics
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
C#
An AnovaPostHocTest object that represents Tukey's HSD for the specified groups.
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
public AnovaPostHocTest GetTukeyTest(
int index1,
int index2
)
Parameters
- index1 Int32
- The index of the first group.
- index2 Int32
- The index of the second group.
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
InvalidOperationException | The Fit() method has not been called. |
ArgumentOutOfRangeException | 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. |