The f test is a statistical test used to check for the equality of variance of two samples. It uses the F distribution to calculate the critical value.

We also use the F test in ANOVA and ANCOVA procedures to test for equality of means for three or more populations.

An example of a situation where the F test may be applied is as follows:

Suppose there are two manufacturers who produce bulbs of the same average lifetime. We wish to know whether the variances in the lifetimes of bulbs for the two manufacturing processes are equal or not.

To test this we shall formulate our null hypothesis as H_{0}: σ_{1}=σ_{2} vs the alternative hypothesis H_{1}: σ_{1}≠σ_{2}. Here to test whether the variances are equal we shall use the F test.

**Procedure to carry out two sample F test for equality of variance:**

- Formulate the null hypothesis as σ
_{1}=σ_{2}. In comparison, the alternative hypothesis will be H1: σ1≠σ2 for a two-sided test. The alternative hypothesis will be H1: σ1>σ2 or H1: σ1<σ2 for one-sided test. - Calculate the value of the F statistic using the formula, F= S
_{1}^{2}/S_{2}^{2}where S_{1}and S_{2}are the standard deviations for the two samples. - Compare the F statistic with the critical F table value at a given level of significance. If the value of the F statistic is greater than the critical value, then reject the null hypothesis otherwise accept the null hypothesis.

**Assumptions when applying the F test:**

- The samples are independent.
- The distribution is normal.

**Difference between the T test and the F test:**

The main difference between the T-test and the F test is that the T-test is used to check for equality of means for one or two samples whereas the F test is used to test for equality of variances of two samples and also in ANOVA to test for equality of means in three or more populations.