Web under construction (2024-March)github.com/icra/anova

ANOVA (2-way)

Available datasets: 

[!] Select a dataset to load ↑
Current dataset: {{current_dataset}} ({{dataset.length}} rows, {{dataset[0].length}} columns)  
Filters ({{filters.length}})
"{{factors[f.index]}}" = "{{f.value}}"
Dataset ({{get_dataset_filtered.length}} rows, {{get_dataset_filtered[0].length}} columns) — (filtered) (no filters applied)
{{i-1}}
{{f}} {{r}}

Choose 2 Factors and 1 Response Variable (for ANOVA):
Factor 1
Factor 2
Response Variable


Table of groups for ANOVA ({{table.length}} groups)
factors "{{chosen_rv}}" observations
{{key}}: {{val}} {{n}}


ANOVA results for "{{chosen_rv}}" vs {"{{chosen_f1}}","{{chosen_f2}}"} WHEN {{ filters.map(f=>`"${factors[f.index]}"="${f.value}"`).join(", ") }}
Total observations {{anova_result.N}}
Grand mean {{anova_result.grand_mean.toFixed(4)}}
Means within groups {{anova_result.means_within_each_group.map(n=>parseFloat(n.toFixed(4)))}}
Means within factor values
"{{factor}}"
CI-95%-lo mean CI-95%-hi CI-95% graphic
"{{name}}" {{parseFloat(n.toFixed(4))}} {{mean.toFixed(4)}} {{parseFloat(n.toFixed(4))}}
·

Source of variation Sum of squares (SS) Degrees of freedom (df) Mean Square (MS=SS/df) F0 (=MS/MSerror) p-value
"{{fac}}"
  • "{{val}}"
{{anova_result.SSB[fac].toFixed(4)}} {{anova_result.degrees_of_freedom.factors[fac]}} {{anova_result.MS.factors[fac].toFixed(4)}} {{anova_result.F_ratio.factors[fac].toFixed(4)}} {{anova_result.p_value.factors[fac]}}
Interaction {{anova_result.SSI.toFixed(4)}} {{anova_result.degrees_of_freedom.interaction}} {{anova_result.MS.interaction.toFixed(4)}} {{anova_result.F_ratio.interaction.toFixed(4)}} {{anova_result.p_value.interaction}}
Error {{anova_result.SSE.toFixed(4)}} {{anova_result.degrees_of_freedom.error}} {{anova_result.MS.error.toFixed(4)}}
Total {{anova_result.SST.toFixed(4)}} {{anova_result.N-1}}