<img src="https://d5nxst8fruw4z.cloudfront.net/atrk.gif?account=iA1Pi1a8Dy00ym" style="display:none" height="1" width="1" alt="" />
You are viewing an older version of this Concept. Go to the latest version.

# F-Distribution

## Use Fisher's exact test when a chi-square test cannot be conducted because one or more of the cells has an expected frequency of five or less.

0%
Progress
Practice F-Distribution
Progress
0%
F-Distribution

In this Concept, you will be introduced to the F-distribution, and will understand its differences from the t-distribution. You will learn to calculate a test statistic as a ratio of values derived from sample variances, in order to test hypotheses about multiple independent population variances. You will learn about the limits of inferences derived from these methods.

### Watch This

For a discussion on the F-distribution, see mathbobcod, DuPage Statistics: F-test for Variances (12:25).

For an example of using the F-distribution to test the hypothesis that the two population variances are the same, using Excel, see bionicturtledotcom, F distribution (8:17).

### Guidance

The $F$ -Distribution

The $F$ -distribution is actually a family of distributions. The specific $F$ -distribution for testing two population variances, $\sigma^2_1$ and $\sigma^2_2$ , 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:

$F$ -Max Test: Calculating the Sample Test 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.

#### Example A

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

$& \text{Program 1} && \text{Program 2}\\& n_1=31 && n_2=41\\& \bar{x}_1=43.6 && \bar{x}_2=43.8\\& s{_1}^2=105.96 && s{_2}^2=36.42$

What is the $F$ -ratio for these data?

$F=\frac{s{_1}^2}{s{_2}^2}=\frac{105.96}{36.42} \approx 2.909$

$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, $H_0: \sigma^2_1=\sigma^2_2$ (or in other words, that the ratio of the variances $\frac{\sigma^2_1}{\sigma^2_2}=1$ ), we call this test the $F$ -Max test . Since we have a null hypothesis of $H_0: \sigma^2_1=\sigma^2_2$ , our alternative hypothesis would be $H_a: \sigma^2_1 \neq \sigma^2_2$ .

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.

#### Example B

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 $\alpha=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.

#### Example C

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.

Solution:

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, $H_0; \sigma^2_1=\sigma^2_2$ , 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.

On the Web

http://www.statsoft.com/textbook/sttable.html#f01 $F$ -distribution tables.

### Vocabulary

We use the $F$ -Max test and the $F$ -distribution when testing if two variances from independent samples are equal.

The $F$ -distribution differs from the normal distribution and Student’s $t$ -distribution. Unlike the normal distribution and the $t$ -distribution, $F$ -distributions are not symmetrical and go from 0 to $\infty$ , not from $- \infty$ to $\infty$ as the others do.

When testing the variances from independent samples, we calculate the $F$ -ratio test statistic , which is the ratio of the variances of the independent samples.

When we reject the null hypothesis, $H_0:\sigma^2_1=\sigma^2_2$ , we conclude that the variances of the two populations are not equal.

The test of the null hypothesis, $H_0: \sigma^2_1=\sigma^2_2$ , using the $F$ -distribution is only appropriate when it can be safely assumed that the population is normally distributed.

### Guided Practice

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

a. What is the null hypothesis?

b. What is the value of the test statistic?

c. At the 0.01 level of significance, what is the F critical value?

d. Do you reject or fail to reject the null hypothesis? Explain.

Solutions:

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

$H_0: \sigma^2_B=\sigma^2_A$

b. $F =\frac{6.987^2}{4.987^2}=\frac{48.818}{24.870} = 1.963$ with 19 degrees of freedom for both the numerator and denominator.

c. The F critical value for a one-sided test is 3.101 at the 0.01 level of significance. Since this is a two-tailed test we would need the critical value for a one-sided test at 0.005. This critical value would be larger than 3.101.

d. The decision is to fail to reject the null hypothesis since our test statistic is 1.963 which is smaller than the critical value. This means that we believe that the variances are the same before and after.

### Practice

1. We use the $F$ -Max test to examine the differences in the ___ between two independent samples.
2. List two differences between the $F$ -distribution and Student’s $t$ -distribution.
3. When we test the differences between the variances of two independent samples, we calculate the ___.
4. When calculating the $F$ -ratio, it is recommended that the sample with the ___ sample variance be placed in the numerator, and the sample with the ___ sample variance be placed in the denominator.
5. Suppose a guidance counselor tested the mean of two student achievement samples from different SAT preparatory courses. She found that the two independent samples had similar means, but also wants to test the variance associated with the samples. She collected the following data:

$& \text{SAT Prep Course} \ \# 1 && \text{SAT Prep Course} \ \# 2\\& n=31 && n=21\\& s^2=42.30 && s^2=18.80$

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

b. What is the critical value with $\alpha=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, $H_0:\sigma^2_1=\sigma^2_2$ , 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

Keywords

$F$ -distribution

$F$ -Max test

$F$ -ratio test statistic

### Vocabulary Language: English

F-distribution

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

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

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.