Regression Approach To ANOVA. Dummy (Indicator) Variables: Variables that take on the value 1 if observation comes from a particular group, 0 if not. If there are I groups, we create I -1 dummy variables. Individuals in the “baseline” group receive 0 for all dummy variables.
General Notation: Factor A has I levels, B has J levels
Tests based on fitting full and reduced models.
As with the ANOVA approach, we can partition the variation to that attributable to Factor A, Factor B, and their interaction
We conclude there is a Drug*TB interaction (t=2.428, p=.022). Compare this with the results from the two factor ANOVA table
To Compare pairs of treatment means (assuming no time by treatment interaction, otherwise they must be done within time periods and replace tn with just n):