|
Sum of squares calculations for illustrative data |
|||||
| Treatment |
Observation (x) |
Treatment mean (fitted value) |
Treatment mean - grand mean (explained deviation) |
x - treatment mean (residual) |
x - grand mean (total deviation) |
|
|
|||||
| 1 |
10 |
12 |
-4 |
-2 |
-6 |
| 1 |
12 |
12 |
-4 |
0 |
-4 |
| 1 |
14 |
12 |
-4 |
2 |
-2 |
| 2 |
19 |
20 |
4 |
-1 |
3 |
| 2 |
20 |
20 |
4 |
0 |
4 |
| 2 |
21 |
20 |
4 |
1 |
5 |
| 3 |
14 |
16 |
0 |
-2 |
-2 |
| 3 |
16 |
16 |
0 |
0 |
0 |
| 3 |
18 |
16 |
0 |
2 |
2 |
| Sum of squares |
96 |
18 |
114 |
||
Bewick et al. Critical Care 2004 8:130 doi:10.1186/cc2836 |
|||||