2 Factor ANOVA Calculator

Compare two factors across balanced repeated observations. Review variance components, significance tests, and interaction patterns. Download clean reports and visualize cell means instantly online.

Calculator Inputs

Use balanced data with equal replications in every cell.

Example Data Table

This example matches the default dataset inside the calculator.

Factor A Factor B Value
Method AMorning52
Method AMorning49
Method AMorning51
Method AEvening60
Method AEvening58
Method AEvening61
Method BMorning55
Method BMorning57
Method BMorning56
Method BEvening64
Method BEvening63
Method BEvening62
Method CMorning59
Method CMorning60
Method CMorning58
Method CEvening68
Method CEvening67
Method CEvening69

Formula Used

Grand mean: GM = Σy / N

Factor A sum of squares: SSA = b×n×Σ(ȳi.. − GM)²

Factor B sum of squares: SSB = a×n×Σ(ȳ.j. − GM)²

Interaction sum of squares: SSAB = n×ΣΣ(ȳij. − ȳi.. − ȳ.j. + GM)²

Error sum of squares: SSE = ΣΣΣ(yijk − ȳij.

Mean square: MS = SS / df

F statistic: F = MSeffect / MSerror

Eta squared: η² = SSeffect / SStotal

This calculator uses balanced two-factor ANOVA with replication.

How to Use This Calculator

  1. Name both factors and the response variable.
  2. Choose the significance level and decimal precision.
  3. Paste balanced rows in the format Factor A, Factor B, Value.
  4. Ensure each factor combination has equal replications.
  5. Click Calculate ANOVA to view the summary above the form.
  6. Review the ANOVA table, cell means, and interaction graph.
  7. Use Download CSV for spreadsheet work.
  8. Use Download PDF for a clean report snapshot.

FAQs

1. What does this calculator test?

It tests whether Factor A, Factor B, and their interaction significantly affect one continuous response variable in a balanced replicated design.

2. Does this calculator require balanced data?

Yes. Every Factor A and Factor B combination must contain the same number of observations. Unequal cells can distort the standard balanced ANOVA formulas.

3. Why are replications needed?

Replications let the calculator estimate the within-cell error term. Without replication, the interaction and residual structure cannot be separated cleanly here.

4. What does a significant interaction mean?

A significant interaction means the effect of one factor changes across levels of the other factor. Main effects should then be interpreted carefully.

5. What does eta squared show?

Eta squared estimates how much of the total variation is explained by a factor or interaction. Larger values suggest stronger practical impact.

6. What file format should I paste?

Paste plain comma-separated rows as Factor A, Factor B, Value. A header row is allowed because the calculator skips the first nonnumeric value row.

7. What does the Plotly graph show?

The graph plots cell means across Factor B levels, using one line for each Factor A level. Diverging slopes suggest interaction patterns.

8. Can I export the results?

Yes. The page can export a CSV summary for analysis and a PDF snapshot for reporting, review, or sharing.

Related Calculators

permutation standard deviationpermutation logistic regressionpermutation confidence intervalbootstrap logistic regressionstatistics combination and permutation calculatorpermutation test p-value calculatorinverse permutation calculator

Important Note: All the Calculators listed in this site are for educational purpose only and we do not guarentee the accuracy of results. Please do consult with other sources as well.