TukeyHSD (ANOVA v0.7.1)

Copy Markdown View Source

Tukey's Honestly Significant Difference (HSD) post-hoc test.

Summary

Functions

Performs Tukey's HSD test using ANOVA results.

Types

float_pair()

@type float_pair() :: {float(), float()}

int_pair()

@type int_pair() :: {pos_integer(), pos_integer()}

test_result()

@type test_result() :: %{
  anova: ANOVA.one_way_result(),
  post_hoc_test: %{
    summary: %{
      test: binary(),
      total_comparisons: pos_integer(),
      significant_comparisons: non_neg_integer(),
      non_significant_comparisons: non_neg_integer(),
      significant_pairs: [int_pair()],
      difference_stats: %{
        max: float(),
        min: float(),
        median: float(),
        mean: float()
      },
      effect_size_stats: %{median: float(), mean: float()}
    },
    pairwise_comparisons: [
      %{
        standard_error: float(),
        difference: float(),
        groups: int_pair(),
        effect_size: float(),
        significant?: boolean(),
        confidence_interval: %{level: float(), upper: float(), lower: float()},
        means: float_pair(),
        p_value: float(),
        q_statistic: float()
      }
    ]
  }
}

Functions

test(anova_result, alpha)

@spec test(ANOVA.one_way_result(), float()) :: test_result()

Performs Tukey's HSD test using ANOVA results.