The chi-square distribution is related to the normal distribution, as it is the distribution of the sum of squared normal random variables. The F distribution is the ratio of two chi-square random variables, each divided by its degrees of freedom. Both the chi-square and F distributions are used to test hypotheses about variances and compare variance estimates. To test if two samples have equal variances, the F test compares the ratio of the two sample variance estimates to the critical values of the F distribution with the degrees of freedom of each sample.