Two Way Replicate (Repeated Measures) Analysis of Variance

 

Menu location: Analysis_Analysis of Variance_Replicate Two Way.

 

This function calculates ANOVA for a two way randomized block experiment with repeated observations for each treatment/block cell. There are overall tests for differences between treatment means, between block means and block/treatment interaction. Multiple comparison methods are provided for pairs of treatment means.

 

Consider data classified by two factors such that each level of one factor can be combined with all levels of the other factor:

 

For repeated Y observations 1 to r:

    Treatment (i, 1 to k)
    1 2 ... k
Block (j, 1 to b): 1 Yijr      
  2        
  3        
  .        
  b        

 

In the example below there is a study of different treatments on clotting times. Response/outcome variable Y is the measured r times for clotting time for blood samples. Blocks are individuals who donated a blood sample. Treatments are different methods by which portions of each of the blood samples are processed.

 

The simple two way randomized block design assumes that the block (row) and treatment (column) effects are additive. This means that apart from experimental error, the difference in effect between any two blocks is the same for all treatment and vice versa. If these effects are not additive then there is a row-column interaction that should be investigated by repeating the observations for each block.

 

StatsDirect compensates for missing observations in the replicates (repeat observations) by estimating them as the mean of the replicates present and by reducing the degrees of freedom, you should avoid this situation if possible.

 

Data preparation

Enter each set of replicates as a separate two way table of treatment columns and block rows.

 

Example

From Armitage and Berry (1994, p. 243).

Test workbook (ANOVA worksheet: T1(rep 1), T2(rep 1), T3(rep 1), T1(rep 2), T2(rep 2), T3(rep 2), T1(rep 3), T2(rep 3), T3(rep 3)).

 

The following data represent clotting times (mins) from three subjects treated in three different ways. The plasma samples were allocated randomly to the treatments and the analysis was repeated three times for each sample.

 

Treatment A B C
Subject 1: 9.8 9.9 11.3
  10.1 9.5 10.7
  9.8 10.0 10.7
       
Subject 2: 9.2 9.1 10.3
  8.6 9.1 10.7
  9.2 9.4 10.2
       
Subject 3: 8.4 8.6 9.8
  7.9 8.0 10.1
  8.0 8.0 10.1

 

To analyse these data in StatsDirect you must first prepare them in nine workbook columns:

 

r = repeat/replicate observation

T = treatment

 

T1 (r 1) T2 (r 1) T3 (r 1) T1 (r 2) T2 (r 2) T3 (r 2) T1 (r 3) T2 (r 3) T3 (r 3)
9.8 9.9 11.3 10.1 9.5 10.7 9.8 10.0 10.7
9.2 9.1 10.3 8.6 9.1 10.7 9.2 9.4 10.2
8.4 8.6 9.8 7.9 8.0 10.1 8.0 8.0 10.1

 

Alternatively, open the test workbook using the file open function of the file menu. Then select Replicate Two Way from the analysis of variance section of the analysis menu. Enter the number of repeats as three and select the columns marked "T1 (rep 1)" etc. when prompted for the subject (row) by treatment (column) data for each repeat.

 

For this example:

 

Two way randomized block analysis of variance with repeated observations

 

Variables: (T1 (rep 1), T2 (rep 1), T3 (rep 1)) (T1 (rep 2), T2 (rep 2), T3 (rep 2)) (T1 (rep 3), T2 (rep 3), T3 (rep 3))

 

Source of Variation Sum Squares DF Mean Square
Blocks (rows) 9.26 2 4.63
Treatments (columns) 11.78 2 5.89
Interaction 0.74 4 0.185
Residual (error) 1.32 18 0.073333
Corrected total 23.1 26  

 

F (VR blocks) = 63.136364 P < .0001

F (VR treatments) = 80.318182 P < .0001

F (VR interaction) = 2.522727 P = .0771

 

Here we see a statistically highly significant difference between mean clotting times across the groups. If the F statistic for interaction had been significant then there would have been little point in drawing conclusions about independent block and treatment effects from the other F statistics.

 

P values

multiple comparisons

analysis of variance

 

 

Copyright © 2000-2016 StatsDirect Limited, all rights reserved. Download a free trial here.