You are here: Project Scarlet » Statistical Inference » Analysis of Variance » Sum of Squares Between (SSB)
One-Way ANOVA
The between-sample sum of squares (SSB) is a measure of the data variablility explained by the model. It is also a non-standardized measure of how well the model fits the data. Larger values of SSB indicate the model fits the data better, all things being equal. The SSB is sometime called the sum of square due to Treatment (SST) by some sources. Other names for it include sum of squares due to model (SSM) and sum of squares due to regression (SSR). As usual, compare the notation used in yoru book with the notation used here.
As usual, these calculations refer only to the one-way completely randomized design, the most basic of sample designs.
Example #472: Let us test the null hypothesis that the average yield does not depend upon the treatment used. Since there are 3 treatments in this experiment, the hypotheses are
H0 : μ1 = μ2 = μ3
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:
0, -5, 1
Treatment 2:
1, 2, 1, 12, 4, 13, 3, 7
Treatment 3:
14, 5, 3, 0, -1, -2, 11, 10, 8
With this information, calculate the sum of squares between (SSB) for the data.
To summarize the above, the values of import are:
\( \bar{x} \) | = | 4.35 |
---|---|---|
\( \bar{x}_1 \) | = | -1.3333 |
\( \bar{x}_2 \) | = | 5.375 |
\( \bar{x}_3 \) | = | 5.3333 |
\( n_1 \) | = | 3 |
\( n_2 \) | = | 8 |
\( n_3 \) | = | 9 |
In the box below, please enter the sum of squares between (SSB) for the data, 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. | . | |