Difference between Z-test, F-test, and T-test. A z-test is used for testing the mean of a population versus a standard, or comparing the means of two populations, with large (n ≥ 30) samples whether you know the population standard deviation or not. ... An F-test is used to compare 2 populations' variances.