Two-Way ANOVA | |||||
Description | It analyzes the effect of independent variables on the expected outcome along with their relationship to the outcome itself. | ||||
Why to use | To perform analysis of variance. | ||||
When to use | To know how two independent variables, in combination, affect a dependent variable. | When not to use | When the number of dependent variables is more than one. | ||
Prerequisites |
| ||||
Input | Any dataset that contains numerical data. | Output |
| ||
Statistical Methods used |
| Limitations |
|
Two-Way ANOVA is a statistical analysis method. It is used to determine if there are any statistical differences in two or more samples' mean values.
In Two-Way ANOVA,
Null Hypothesis –
Alternative Hypothesis – All the samples do not have equal means.
Two Way ANOVA tests the Null Hypothesis (H0),
H0: µ0 = µ1 = µ2 = µ3 = … = µk
Where,
µ = the group mean
k = number of samples
A two-way ANOVA is used to estimate how the mean of a quantitative variable changes according to the levels of two categorical variables. Use a two-way ANOVA when you want to know how two independent variables, in combination, affect a dependent variable.