Analysis of Variance
- The column of response values is specified.
- The column identified with “treatments” is selected.
- Another column identified with “blocks” is selected.
It proceeds to compute the analysis of variance table (AOV table) which summarizes the degree of freedom (df), the sum of squares (SS), and mean squares (MS).
Various statistics in AOV table for randomized block design are described as follows:
| Source | Degree of freedom | SS | Mean square | F-statistic | 
| Treatment |  |  |  |  | 
| Block |  |  |  |  | 
| Error |  |  |    | |
| Total within blocks |  |  | 
- 
 is called the treatment sample mean
for each treatment is called the treatment sample mean
for each treatment . .
- 
 is the block sample mean
for each block is the block sample mean
for each block . .
- 
 is the overall sample mean. is the overall sample mean.
- 
 is the treatment sum of sqaures. is the treatment sum of sqaures.
- 
 is the block sum of sqaures, is the block sum of sqaures,
- 
 is the error sum of sqaures. is the error sum of sqaures.
- 
 is the total sum of sqaures.
Together we obtain the algebraic identity is the total sum of sqaures.
Together we obtain the algebraic identity  
The pairwise contrast tests the null hypothesis
 for treatment,
and 
 for block.
It provides post hoc information about the difference among treatment and block.
The point estimate 
 of contrast is obtained by
 of contrast is obtained by
 for treatment,
and 
 for block.
The standard error 
 are calculated from
 are calculated from
 for treatment,
and
 for block.
It should be noted that pairwise t-test does not take into account the simultaneity of multiple testing, and that it may give erroneous results.
© TTU Mathematics
