ANOVA (Analysis of variance)
Summary
Functions
One-way ANOVA for k independent groups (unequal n allowed).
Types
@type groups() :: [number_list()]
@type number_list() :: [number()]
@type one_way_result() :: %{ summary: %{ groups: pos_integer(), group_sizes: [pos_integer()], total_observations: pos_integer(), overall_mean: float(), group_means: [float()] }, anova_table: %{ between: %{ss: float(), df: float(), ms: float()}, within: %{ss: float(), df: float(), ms: float()}, total: %{ss: float(), df: float()} }, test_results: %{ f_statistic: float(), p_value: float(), eta_squared: float(), omega_squared: float() } }
Functions
@spec one_way(groups()) :: one_way_result()
One-way ANOVA for k independent groups (unequal n allowed).
Call ANOVA.one_way(groups) where groups is a list of lists of numbers.
Returns a map with the computed values.