Skip to main content
K12 LibreTexts

9.12: F-Distribution

  • Page ID
    5794
  • \( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \) \( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)\(\newcommand{\id}{\mathrm{id}}\) \( \newcommand{\Span}{\mathrm{span}}\) \( \newcommand{\kernel}{\mathrm{null}\,}\) \( \newcommand{\range}{\mathrm{range}\,}\) \( \newcommand{\RealPart}{\mathrm{Re}}\) \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\) \( \newcommand{\Argument}{\mathrm{Arg}}\) \( \newcommand{\norm}[1]{\| #1 \|}\) \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\) \( \newcommand{\Span}{\mathrm{span}}\) \(\newcommand{\id}{\mathrm{id}}\) \( \newcommand{\Span}{\mathrm{span}}\) \( \newcommand{\kernel}{\mathrm{null}\,}\) \( \newcommand{\range}{\mathrm{range}\,}\) \( \newcommand{\RealPart}{\mathrm{Re}}\) \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\) \( \newcommand{\Argument}{\mathrm{Arg}}\) \( \newcommand{\norm}[1]{\| #1 \|}\) \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\) \( \newcommand{\Span}{\mathrm{span}}\)\(\newcommand{\AA}{\unicode[.8,0]{x212B}}\)

    The F-Distribution

    The F-distribution is actually a family of distributions. The specific F-distribution for testing two population variances, σ21 and σ22, is based on two values for degrees of freedom (one for each of the populations). Unlike the normal distribution and the t-distribution, F-distributions are not symmetrical and span only non-negative numbers. (Normal distributions and t-distributions are symmetric and have both positive and negative values.) In addition, the shapes of F-distributions vary drastically, especially when the value for degrees of freedom is small. These characteristics make determining the critical values for F-distributions more complicated than for normal distributions and Student’s t-distributions. F-distributions for various degrees of freedom are shown below:

    Screen Shot 2020-07-30 at 10.29.06 PM.png

    Statistic

    We use the F-ratio test statistic when testing the hypothesis that there is no difference between population variances. When calculating this ratio, we really just need the variance from each of the samples. It is recommended that the larger sample variance be placed in the numerator of the F-ratio and the smaller sample variance in the denominator. By doing this, the ratio will always be greater than 1.00 and will simplify the hypothesis test.

    Calculating the F-Ratio

    Suppose a teacher administered two different reading programs to two groups of students and collected the following achievement score data:

    Screen Shot 2020-07-30 at 10.30.33 PM.png

    What is the F-ratio for these data?

    Screen Shot 2020-07-30 at 10.30.56 PM.png

    F-Max Test: Testing Hypotheses about Multiple Independent Population Variances

    When we test the hypothesis that two variances of populations from which random samples were selected are equal, H02122 (or in other words, that the ratio of the variances σ21σ22=1), we call this test the F-Max test. Since we have a null hypothesis of H02122, our alternative hypothesis would be Ha:σ21≠σ22.

    Establishing the critical values in an F-test is a bit more complicated than when doing so in other hypothesis tests. Most tables contain multiple F-distributions, one for each of the following: 1 percent, 5 percent, 10 percent, and 25 percent of the area in the right-hand tail. (Please see the supplemental link for an example of this type of table.) We also need to use the degrees of freedom from each of the samples to determine the critical values.

    Determining the Critical Value

    Suppose we are trying to determine the critical values for the scenario in the preceding section, and we set the level of significance to 0.02. Because we have a two-tailed test, we assign 0.01 to the area to the right of the positive critical value. Using the F-table for α=0.01, we find the critical value at 2.203, since the numerator has 30 degrees of freedom and the denominator has 40 degrees of freedom.

    Once we find our critical values and calculate our test statistic, we perform the hypothesis test the same way we do with the hypothesis tests using the normal distribution and Student’s t-distribution.

    Performing a Hypothesis Test

    Using our example from the preceding section, suppose a teacher administered two different reading programs to two different groups of students and was interested if one program produced a greater variance in scores. Perform a hypothesis test to answer her question.

    For the example, we calculated an F-ratio of 2.909 and found a critical value of 2.203. Since the observed test statistic exceeds the critical value, we reject the null hypothesis. Therefore, we can conclude that the observed ratio of the variances from the independent samples would have occurred by chance if the population variances were equal less than 2% of the time. We can conclude that the variance of the student achievement scores for the second sample is less than the variance of the scores for the first sample. We can also see that the achievement test means are practically equal, so the difference in the variances of the student achievement scores may help the teacher in her selection of a program.

    The Limits of Using the F-Distribution to Test Variance

    The test of the null hypothesis, H02122, using the F-distribution is only appropriate when it can safely be assumed that the population is normally distributed. If we are testing the equality of standard deviations between two samples, it is important to remember that the F-test is extremely sensitive. Therefore, if the data displays even small departures from the normal distribution, including non-linearity or outliers, the test is unreliable and should not be used. In the next lesson, we will introduce several tests that we can use when the data are not normally distributed.


    Examples

    Measurements are taken before and after a specific date. You are interested in whether the population variances are the same before and after. Following is the information you have:

    N Mean Standard Deviation Variance
    Before 20 2.987 6.987 48.818
    After 20 2,435 4.987 24.870

    Example 1

    What is the null hypothesis?

    Since we are interested in whether or not the variances are the same, the null hypothesis is:

    Screen Shot 2020-07-30 at 10.32.24 PM.png

    a. What are the null and alternative hypotheses for this scenario?

    b. What is the critical value with α=0.10?

    c. Calculate the F-ratio.

    d. Would you reject or fail to reject the null hypothesis? Explain your reasoning.

    e. Interpret the results and determine what the guidance counselor can conclude from this hypothesis test.

    1. True or False: The test of the null hypothesis, H02122, using the F-distribution is only appropriate when it can be safely assumed that the population is normally distributed.
    1. Consider the following table:
    F-Test Two Sample for Variances
    Variable 1 Variable 2
    Mean 25.642857 43.8125
    Variance 15.22619048 96.42410714
    Observations 7 8
    Df 6 7
    F 0.157908545
    P(F f) one tail 0.01927
    F Critical one-tail 0.23771837

    a. What is the null hypothesis?

    b. What is the calculated F statistic?

    c. What is the decision?

    1. List the properties of the F distribution.
    2. Name two differences between the F test and the chi-square test.
    3. Which of the following statements is correct?
      1. Just like the chi-square, the F-distribution is skewed.
      2. The F-distribution is defined by three parameters.
      3. The two samples used in the F test must be the same size.
    4. Choose the correct response to complete this sentence: A small value for F will result in
      1. A non-rejection of the null hypothesis
      2. A rejection of the null hypothesis
      3. The test statistic not falling in the acceptance region.
    5. The F-test is
      1. Used to carry out a hypothesis test for an analysis of variance.
      2. A test used to predict the variance when the sample size is unknown.
      3. Used to carry out a hypothesis test for an analysis of the standard deviation.
    6. If we are testing is the variances of two populations are equal, what should be the distribution of the underlying populations?
      1. F-distribution
      2. Chi-square distribution
      3. Normal distribution
    1. A large value of F will result in:
      1. Rejection of the null hypothesis
      2. Acceptance of the null hypothesis
      3. The test statistic falling in the acceptance region.
    2. A researcher wants to do a hypothesis test regarding the equality of the variances of two normally distributed populations. Which of the following statements are true in this situation?
      1. The F-statistic is the appropriate test statistic that should be used in this case.
      2. The chi-square is the appropriate test statistic that should be used in this case.
      3. If the calculated statistic is within the critical values, then the conclusion would be not to reject the statement that the variances of the two populations are equal.
      4. If the calculated statistic is within the critical values, then the conclusion would be to reject the statement that the variances of the two populations are equal.
    I a and b
    II a and c
    III b and c
    1. Which of the following test statistics should be used when doing a hypothesis test for the equality of the variances of two populations?
      1. T-distribution
      2. Chi-square
      3. F-distribution
    2. The standard deviation of the scores of 20 students in their biology test is 10 and that of their chemistry test is 5. Find the value of the F-test statistic and decide whether the variances for both tests differ at the 0.10 level of significance.
    3. The sample variances of two populations are 45 (from a sample of size 25) and 78 (from sample of size 16). If the degrees of freedom of the numerator is 15 and that of the denominator is 24 for testing the variances of two populations using the F-test, find the value of the test statistic. At the .05 level of significance, can you accept that the variances are the same?
    4. You are interested in testing the difference between two population variances. Below is data from the two samples from each of the populations. Find the F-test value.

    Sample 1

    2 3 4 1 8 2 4 5 1 9 4 2 7 9

    Sample 2

    2 1 1 4 5 1 1 1 5 7

    1. The variance of a sample of n = 20 is 62 and the variance of a second sample of n = 15 is 23. At the .10 level of significance, find the F-test value and check whether variances differ significantly.
    2. Which of the following are true?

    I. The mean value of F is approximately zero.

    II. The F distribution is a family of curves based on the degrees of freedom of the variance of the numerator.

    III. The F distribution is a family of curves based on the degrees of freedom of the variance of the denominator.

    a. I and II only

    b. II and III only

    c. I only

    d. Neither I nor II

    1. The basic assumption(s) for estimating the difference between two variances is/are:

    I. The samples must be dependent on each other.

    II. The samples must be independent of each other.

    III. The populations from which the samples were drawn must be normally distributed.

    IV. The populations from which the samples were drawn must depart from normality.

    a. I and III only

    b. II and III only

    c. II and IV only

    d. I and IV only

    1. Find the value of the F test statistic and the critical value, at the .05 level of significance, for testing the equality of population variances. The sample data is below.
    Sample Size Sample variance
    30 12
    25 8

    Review (Answers)

    To view the Review answers, open this PDF file and look for section 11.1.


    Vocabulary

    Term Definition
    F-distribution The F-distribution is a family of distributions used for testing two population variances and is based on two values for degrees of freedom (one for each of the populations).
    F-max test The F-max test is used when testing the hypothesis that two variances of populations from which random samples were selected are equal.
    F-ratio test statistic The F-ratio test statistic is found by putting the larger sample variance in the numerator of the F-ratio and the smaller sample variance in the denominator

    Additional Resources

    Video: F-Test for Variances

    Practice: F-Distribution


    This page titled 9.12: F-Distribution is shared under a CK-12 license and was authored, remixed, and/or curated by CK-12 Foundation via source content that was edited to the style and standards of the LibreTexts platform; a detailed edit history is available upon request.

    CK-12 Foundation
    LICENSED UNDER
    CK-12 Foundation is licensed under CK-12 Curriculum Materials License