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)|
|Block (j, 1 to b):||1||Yijr|
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.
Enter each set of replicates as a separate two way table of treatment columns and block rows.
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.
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)|
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|
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.