F Distribution
The F distribution is the probability distribution associated with the f statistic. In this lesson, we show how to compute an f statistic and how to find probabilities associated with specific f statistic values.
The f Statistic
The f statistic, also known as an f value, is a random variable that has an F distribution. (We discuss the F distribution in the next section.)
Here are the steps required to compute an f statistic:
- Select a random sample of size n1 from a normal population, having a standard deviation equal to σ1.
- Select an independent random sample of size n2 from a normal population, having a standard deviation equal to σ2.
- The f statistic is the ratio of s12/σ12 and s22/σ22.
The following equivalent equations are commonly used to compute an f statistic:
f = [ s12/σ12 ] / [ s22/σ22 ]
f = [ s12 * σ22 ] / [ s22 * σ12 ]
f = [ Χ21 / v1 ] / [ Χ22 / v2 ]
f = [ Χ21 * v2 ] / [ Χ22 * v1 ]
where σ1 is the standard deviation of population 1, s1 is the standard deviation of the sample drawn from population 1, σ2 is the standard deviation of population 2, s2 is the standard deviation of the sample drawn from population 2, Χ21 is the chi-square statistic for the sample drawn from population 1, v1 is the degrees of freedom for Χ21, Χ22 is the chi-square statistic for the sample drawn from population 2, and v2 is the degrees of freedom for Χ22 . Note that degrees of freedom v1 = n1 - 1, and degrees of freedom v2 = n2 - 1 .
The F Distribution
The distribution of all possible values of the f statistic is called an F distribution, with v1 = n1 - 1 and v2 = n2 - 1 degrees of freedom.
The curve of the F distribution depends on the degrees of freedom, v1 and v2. When describing an F distribution, the number of degrees of freedom associated with the standard deviation in the numerator of the f statistic is always stated first. Thus, f(5, 9) would refer to an F distribution with v1 = 5 and v2 = 9 degrees of freedom; whereas f(9, 5) would refer to an F distribution with v1 = 9 and v2 = 5 degrees of freedom. Note that the curve represented by f(5, 9) would differ from the curve represented by f(9, 5).
The F distribution has the following properties:
- The mean of the distribution is equal to v2 / ( v2 - 2 ) for v2 > 2.
- The variance is equal to [ 2 * v22 * ( v1 + v1 - 2 ) ] / [ v1 * ( v2 - 2 )2 * ( v2 - 4 ) ] for v2 > 4.
Cumulative Probability and the F Distribution
Every f statistic can be associated with a unique cumulative probability. This cumulative probability represents the likelihood that the f statistic is less than or equal to a specified value.
Statisticians use fα to represent the value of an f statistic having a cumulative probability of (1 - α). For example, suppose we were interested in the f statistic having a cumulative probability of 0.95. We would refer to that f statistic as f0.05, since (1 - 0.95) = 0.05.
Of course, to find the value of fα, we would need to know the degrees of freedom, v1 and v2. Notationally, the degrees of freedom appear in parentheses as follows: fα(v1,v2). Thus, f0.05(5, 7) refers to value of the f statistic having a cumulative probability of 0.95, v1 = 5 degrees of freedom, and v2 = 7 degrees of freedom.
How does one find the probability associated with a particular f statistic? Many statistics texts include a table of probabilities for the F distribution. And many graphing calculators can compute f statistics. On this website, we use Stat Trek's F Distribution Calculator, as illustrated below in Problem 2.
Test Your Understanding
Problem 1
Suppose you randomly select 7 women from a population of women, and 12 men from
a population of men. The table below shows the standard deviation in each
sample and in each population.
Population | Population standard deviation | Sample standard deviation |
---|---|---|
Women | 30 | 35 |
Men | 50 | 45 |
Compute the f statistic.
Solution A: The f statistic can be computed from the population and sample standard deviations, using the following equation:
f = [ s12/σ12 ] / [ s22/σ22 ]
where σ1 is the standard deviation of population 1, s1 is the standard deviation of the sample drawn from population 1, σ2 is the standard deviation of population 2, and s1 is the standard deviation of the sample drawn from population 2.
As you can see from the equation, there are actually two ways to compute an f statistic from these data. If the women's data appears in the numerator, we can calculate an f statistic as follows:
f = ( 352 / 302 ) / ( 452 / 502 )
f = (1225 / 900) / (2025 / 2500)
f = 1.361 / 0.81 = 1.68
For this calculation, the numerator degrees of freedom v1 are 7 - 1 or 6; and the denominator degrees of freedom v2 are 12 - 1 or 11.
On the other hand, if the men's data appears in the numerator, we can calculate an f statistic as follows:
f = ( 452 / 502 ) / ( 352 / 302 )
f = (2025 / 2500) / (1225 / 900)
f = 0.81 / 1.361 = 0.595
For this calculation, the numerator degrees of freedom v1 are 12 - 1 or 11; and the denominator degrees of freedom v2 are 7 - 1 or 6.
When you are trying to find the cumulative probability associated with an f statistic, you need to know v1 and v2. This point is illustrated in the next example.
Problem 2
Find the cumulative probability associated with each of the f statistics from Example 1, above.
Solution: To solve this problem, we need to find the degrees of freedom for each sample. Then, we will use the F Distribution Calculator to find the probabilities.
F Distribution Calculator
The F Distribution Calculator solves common statistics problems, based on the F distribution. The calculator computes cumulative probabilities, based on simple inputs. Clear instructions guide you to an accurate solution, quickly and easily. If anything is unclear, frequently-asked questions and sample problems provide straightforward explanations. The calculator is free. It can found in the Stat Trek main menu under the Stat Tools tab. Or you can tap the button below.
F Distribution CalculatorHere are the degrees of freedom for each sample.
- The degrees of freedom for the sample of women is equal to n - 1 = 7 - 1 = 6.
- The degrees of freedom for the sample of men is equal to n - 1 = 12 - 1 = 11.
Therefore, when the women's data appear in the numerator, the numerator degrees of freedom v1 is equal to 6; and the denominator degrees of freedom v2 is equal to 11. And, based on the computations shown in the previous example, the f statistic is equal to 1.68. We plug these values into the F Distribution Calculator and find that the cumulative probability is about 0.78.
When the men's data appear in the numerator, the numerator degrees of freedom v1 is equal to 11; and the denominator degrees of freedom v2 is equal to 6. And, based on the computations shown in the previous example, the f statistic is equal to 0.595. If you plug these values into the F Distribution Calculator, you will find that the cumulative probability is about 0.22.