You are here: Project Scarlet » Statistical Inference » Analysis of Variance » Test Statistic
One-Way ANOVA
As usual, these calculations refer only to the one-way completely randomized design, the most basic of sample designs.
Example #346: Let us test the null hypothesis that the average yield does not depend upon the treatment used. Since there are 4 treatments in this experiment, the hypotheses are
H0 : μ1 = μ2 = μ3 = μ4
HA : At least one mean differs from the others.
To test this hypothesis, we collect data. The data consist of two measurements on each unit: yield value and treatment level. (Note that yield is assumed numeric and treatment is assumed categorical.) It is typical to group the experimental units by treatment level. Thus, our data are
Treatment 1:
9, 20, 17, 6, 8, 11
Treatment 2:
13, 11, 8, 5, 14, 11, 9, 6
Treatment 3:
-2, 16, 0, 16, 6
Treatment 4:
16, 17, 16, 18, 20, 15, 5
With this information, calculate the ANOVA test statistic for the data and hypothesis.
The values of import are:
TSS | = | 874.0385 |
---|---|---|
SSB | = | 219.1016 |
SSW | = | 654.9369 |
\( \nu_t \) | = | 25 |
\( \nu_b \) | = | 3 |
\( \nu_w \) | = | 22 |
In the box below, please enter the test statistics for the data and model, then click on the “Check your answer!” button. Please round your answer to the ten-thousandths place.
Show Formula
Show Solution
Show the R Code
© Ole J. Forsberg, Ph.D. 2024. All rights reserved. | . | |