Differences between revisions 3 and 4
Revision 3 as of 2026-09-01 04:41:06
Size: 1188
Comment: Note
Revision 4 as of 2026-09-03 18:49:57
Size: 1444
Comment: Notes
Deletions are marked like this. Additions are marked like this.
Line 29: Line 29:
----



== Two-way ANOVA ==

The two-way ANOVA model is specified as:

{{attachment:two.svg}}

where ''i'' indexes groups in the first factor, ''j'' indexes groups in the second factor, and ''k'' indexes the observations within group ''i,j''.

Analysis of Variance

Analysis of variance (ANOVA) is a methodology for breaking down total variance into components.


Description

Total variance can be broken into between-group variance and within-group variance. By comparing the two components, it is possible to infer whether groups are different. That is to say, between-group variance being much larger than within-group variance suggests that the groups have differing means.


One-way ANOVA

The one-way ANOVA model is specified as:

one.svg

where i indexes groups and j indexes the observations within group i.

This model can be re-expressed in the general linear model (by dummy coding the group variable), and can therefore be fit by OLS. The intercept term is the group mean for the reference group. Each coefficient is the difference between the corresponding group's mean and the reference group; the second group's mean is the sum of the intercept and the first coefficient.


Two-way ANOVA

The two-way ANOVA model is specified as:

two.svg

where i indexes groups in the first factor, j indexes groups in the second factor, and k indexes the observations within group i,j.


CategoryRicottone

Statistics/AnalysisOfVariance (last edited 2026-09-03 20:10:33 by DominicRicottone)