Analysis of variance (ANOVA) can determine whether the means of three or more groups are different.
Example 1): Let’s say they are couple of colleges in your area and you want to know which college give the best performance(In this case all students took same exam from different colleges)
Example 2): Lets say I have three or four options to prepare a cake and I want to know the best option will give the best output.
Types of ANOVA:
- F- Test
- One way ANOVA
- Two way ANOVA
- MANOVA
Note: Both One way and two way ANOVA refers to number of Independent variable in your ANOVA test, means if i have one independent variable it is called One way and if we have two independent variables it is called two way ANOVA.
F-Statistics:
ANOVA uses F-tests to statistically test the equality of means. In simple F-stats is a ratio of two variance(Variance is a measurement of the spread between numbers in a given data set).
One way ANOVA:
One way ANOVA is used to compare two means from two different or independent datasets/groups.
We will consider Null hypothesis if two means are equal.
When we will go for One way ANOVA:
One way ANOVA will be used when you have a group and splits it into different small groups to perform some task, Let’s say if you want to study the difference of performance of students and you will split that students into smaller groups like low, average and high performance.
The null hypothesis (H0) is the equality in all population means, while alternative hypothesis (H1) will be the difference in at least one mean.