The F-test determines if the variations in two groups are significantly different. It is calculated as the ratio of two variances. In science, we often want to know if a treatment not only changes the average but also makes the results more or less consistent. The F-test is also the foundation of ANOVA.