Statistics/Distributions/F
F Distribution
editProbability density function | |
Cumulative distribution function | |
Parameters | d_{1}, d_{2} > 0 deg. of freedom |
---|---|
Support | x ∈ [0, +∞) |
CDF | |
Mean | for d_{2} > 2 |
Mode | for d_{1} > 2 |
Variance | for d_{2} > 4 |
Skewness | for d_{2} > 6 |
Ex. kurtosis | see text |
MGF | does not exist, raw moments defined in text and in |
CF | see text |
Named after Sir Ronald Fisher, who developed the F distribution for use in determining ANOVA critical values. The cutoff values in an F table are found using three variables- ANOVA numerator degrees of freedom, ANOVA denominator degrees of freedom, and significance level.
ANOVA is an abbreviation of analysis of variance. It compares the size of the variance between two different samples. This is done by dividing the larger variance over the smaller variance. The formula of the F statistic is:
where and are the chi-square statistics of sample one and two respectively, and and are their degrees of freedom, i.e. the number of observations.
One example could be if you want to compare apples that look alike but are from different trees and have different sizes. You want to investigate whether they have the same variance of the weight on average.
There are three apples from the first tree that weigh 110, 121 and 143 grams respectively, and four from the other which weigh 88, 93, 105 and 124 grams respectively. The mean and variance of the first sample are 124.67 and 16.80 respectively, and of the second sample 102.50 and 16.01. The chi-square statistic of the first sample is
,
and for the second sample
.
The F statistic is now F = . The Chi-square statistic divided by degrees of freedom appears on the nominator for the second sample because it was larger than that of the first sample.
The critical value of the F distribution for 4 degrees of freedom in the nominator and 3 degrees of freedom in the denominator, i.e. F(f1=4, f2=3) is 9.12 at a 5% level of confidence. Since the test statistic 1.125 is smaller than the critical value, we cannot reject the null hypothesis that they have the same variance. The conclusion is that they have the same variance.