F-Distribution
Study guide: Exam MAS-I
An F-Distribution with r_1 numerator and r_2 denominator degrees of freedom, written F(r_1, r_2), is the distribution of the ratio of two independent chi-squared random variables, each divided by its degrees of freedom. An F random variable with r_1 and r_2 degrees of freedom is
W = \frac{U/r_1}{V/r_2}
Uis a chi-squared random variable withr_1degrees of freedom.Vis a chi-squared random variable withr_2degrees of freedom, independent ofU.
Its mean is
E[W] = \frac{r_2}{r_2 - 2}
r_2 > 2.
The reciprocal 1/W has the F(r_2, r_1) distribution. The square of a random variable with the t-distribution t(r) has the F(1, r) distribution.
The CAS MAS-I F table gives upper-tail critical values for the areas 0.20, 0.10, 0.05, 0.02 and 0.01. A value is found from the denominator degrees of freedom, the upper-tail area and the numerator degrees of freedom.
What is the mean of an
F-distribution with 2 and 24 degrees of freedom?
- The mean depends only on the denominator degrees of freedom,
r_2 = 24.- The mean is
24/(24 - 2) = 1.091.
Comparing two normal variances
For independent random samples of sizes n_1 and n_2 from normal distributions with variances \sigma_1^2 and \sigma_2^2, the sample variances S_1^2 and S_2^2 satisfy
\frac{S_1^2/\sigma_1^2}{S_2^2/\sigma_2^2} \sim F(n_1 - 1, n_2 - 1)
Under H_0: \sigma_1^2 = \sigma_2^2 the unknown variances cancel, and the test statistic is S_1^2/S_2^2. A two-sided test also needs a lower-tail value, which the table does not give. If c is the value that F(r_2, r_1) exceeds with probability \alpha, then the value that F(r_1, r_2) falls below with probability \alpha is
\frac{1}{c}
Normal claim amounts are sampled from two territories. Territory 1 has 11 claims with
s_1^2 = 2.4, and territory 2 has 9 claims withs_2^2 = 0.8. IsH_0: \sigma_1^2 = \sigma_2^2rejected against a two-sided alternative at the 10% level?
- Under
H_0,S_1^2/S_2^2isF(10, 8), and the observed ratio is2.4/0.8 = 3.0.- A two-sided 10% test puts 5% in each tail.
- The upper 5% value of
F(10, 8)is 3.347.- The upper 5% value of
F(8, 10)is 3.072, so the lower 5% value ofF(10, 8)is1/3.072 = 0.326.- The ratio 3.0 lies between 0.326 and 3.347, so
H_0is not rejected.
Testing nested linear models
To test whether q of the p predictors in a linear regression fitted to n observations can be dropped, the reduced model's residual sum of squares \text{RSS}_0 is compared with the full model's \text{RSS}. The partial F statistic is
\frac{(\text{RSS}_0 - \text{RSS})/q}{\text{RSS}/(n - p - 1)}
n - p - 1is the residual degrees of freedom of the full model.
When the q coefficients are 0 and the errors are normal, the statistic has the F(q, n - p - 1) distribution, and a large value means the added terms are significant. For a GLM whose dispersion parameter is estimated, the drop in deviance divided by q\hat{\phi} is compared with F on q and the larger model's residual degrees of freedom. ANOVA tables test group means in the same way.
A linear model with 5 predictors is fitted to 30 observations, with RSS 120. Without two of the predictors, the RSS is 150. Is the hypothesis that both dropped coefficients are 0 rejected at the 5% level?
- The numerator is
(150 - 120)/2 = 15, and the denominator is120/(30 - 5 - 1) = 5.- The statistic is
15/5 = 3.0.- It is compared with
F(2, 24), whose upper 10% value is 2.538 and upper 5% value is 3.403.- The p-value is between 0.05 and 0.10, so the hypothesis is not rejected at the 5% level.
Swapping the degrees of freedom The numerator degrees of freedom belong to the statistic in the numerator. For
S_1^2/S_2^2with 11 and 9 observations they areF(10, 8), whose upper 5% value is 3.347. ReadingF(8, 10)gives 3.072.