A two-way ANOVA is an extension of the one-way ANOVA. While one-way ANOVA analyzes the impact of a single factor, two-way ANOVA evaluates the effect of two independent variables simultaneously. This method is particularly useful in epidemiology when examining the interaction effects between multiple exposure factors and their influence on health outcomes.