The distribution used for the hypothesis test is a new one. It is called the F distribution, named after Sir Ronald Fisher, an English statistician. The F statistic is a ratio (a fraction). There are two sets of degrees of freedom; one for the numerator and one for the denominator. For example, if F follows an F distribution and the number of degrees of freedom for the numerator is four, and the number of degrees of freedom for the denominator is ten, then F ~ F4,10.
Note The F distribution is derived from the Student’s t-distribution. The values of the F distribution are squares of the corresponding values of the t-distribution. One-Way ANOVA expands the t-test for comparing more than two groups. The scope of that derivation is beyond the level of this course. It is preferable to use ANOVA when there are more than two groups instead of performing pairwise t-tests because performing multiple tests introduces the likelihood of making a Type 1 error. To calculate the F ratio, two estimates of the variance are made.
To find a “sum of squares” means to add together squared quantities that, in some cases, may be weighted. We used sum of squares to calculate the sample variance and the sample standard deviation in Descriptive Statistics. MS means “mean square.” MSbetween is the variance between groups, and MSwithin is the variance within groups. Calculation of Sum of Squares and Mean Square
MSbetween and MSwithin can be written as follows: The one-way ANOVA test depends on the fact that MSbetween can be influenced by population differences among means of the several groups. Since MSwithin compares values of each group to its own group mean, the fact that group means might be different does not affect MSwithin. The null hypothesis says that all groups are samples from populations having the same normal distribution. The alternate hypothesis says that at least two of the sample groups come from populations with different normal distributions. If the null hypothesis is true, MSbetween and MSwithin should both estimate the same value.
Note The null hypothesis says that all the group population means are equal. The hypothesis of equal means implies that the populations have the same normal distribution, because it is assumed that the populations are normal and that they have equal variances. F-Ratio or F Statistic If MSbetween and MSwithin estimate the same value (following the belief that H0 is true), then the F-ratio should be approximately equal to one. Mostly, just sampling errors would contribute to variations away from one. As it turns out, MSbetween consists of the population variance plus a variance produced from the differences between the samples. MSwithin is an estimate of the population variance. Since variances are always positive, if the null hypothesis is false, MSbetween will generally be larger than MSwithin.Then the F-ratio will be larger than one. However, if the population effect is small, it is not unlikely that MSwithin will be larger in a given sample. The foregoing calculations were done with groups of different sizes. If the groups are the same size, the calculations simplify somewhat and the F-ratio can be written as: F-Ratio Formula when the groups are the same size
where …
Data are typically put into a table for easy viewing. One-Way ANOVA results are often displayed in this manner by computer software.
Three different diet plans are to be tested for mean weight loss. The entries in the table are the weight losses for the different plans. The one-way ANOVA results are shown in (Figure).
s1 = 16.5, s2 =15, s3 = 15.5 Following are the calculations needed to fill in the one-way ANOVA table. The table is used to conduct a hypothesis test. where n1 = 4, n2 = 3, n3 = 3 and n = n1 + n2 + n3 = 10
One-Way ANOVA Table: The formulas for SS(Total), SS(Factor) = SS(Between) and SS(Error) = SS(Within) as shown previously. The same information is provided by the TI calculator hypothesis test function ANOVA in STAT TESTS (syntax is ANOVA(L1, L2, L3) where L1, L2, L3 have the data from Plan 1, Plan 2, Plan 3 respectively).
Try It
As part of an experiment to see how different types of soil cover would affect slicing tomato production, Marist College students grew tomato plants under different soil cover conditions. Groups of three plants each had one of the following treatments
All plants grew under the same conditions and were the same variety. Students recorded the weight (in grams) of tomatoes produced by each of the n = 15 plants:
The one-way ANOVA hypothesis test is always right-tailed because larger F-values are way out in the right tail of the F-distribution curve and tend to make us reject H0.
The notation for the F distribution is F ~ Fdf(num),df(denom) where df(num) = dfbetween and df(denom) = dfwithin The mean for the F distribution is
dfbetween = df(num) = k – 1 dfwithin = df(denom) = n – k MSbetween = MSwithin = F = F ratio when the groups are the same size: F = Mean of the F distribution: µ = where:
Use the following information to answer the next eight exercises. Groups of men from three different areas of the country are to be tested for mean weight. The entries in (Figure) are the weights for the different groups.
What is the Sum of Squares Factor?
What is the Sum of Squares Error?
What is the df for the numerator?
What is the df for the denominator?
What is the Mean Square Factor?
What is the Mean Square Error?
What is the df for the numerator?
What is the df for the denominator?
Judging by the F statistic, do you think it is likely or unlikely that you will reject the null hypothesis?
Because a one-way ANOVA test is always right-tailed, a high F statistic corresponds to a low p-value, so it is likely that we will reject the null hypothesis.
Use the following information to answer the next three exercises. Suppose a group is interested in determining whether teenagers obtain their drivers licenses at approximately the same average age across the country. Suppose that the following data are randomly collected from five teenagers in each region of the country. The numbers represent the age at which teenagers obtained their drivers licenses.
H0: µ1 = µ2 = µ3 = µ4 = µ5 Hα: At least any two of the group means µ1, µ2, …, µ5 are not equal.
degrees of freedom – numerator: df(num) = _________
degrees of freedom – denominator: df(denom) = ________ |