![]() Biology, images, analysis, design... |
|
"It has long been an axiom of mine that the little things are infinitely the most important" |
|
Split-plot and repeated measures ANOVA![]() ![]() Worked example 1Our first worked example looks at a long term experiment to assess the effects of nitrogen application and thatch accumulation on chlorophyll content of grass (you can find it analyzed using Minitab by Stephen Arnold, Penn State University) The experiment was laid out as a split-plot design with two blocks (replications) . Each block contained four main plots each of which contained 3 subplots. The four levels of nitrogen application were randomly allocated to the main plots within each block. The three levels of thatch accumulation (2, 5 and 8 years) were randomly allocated to the subplots within each plot. It is unclear why a split plot design was used for this - Arnold suggests it may be to avoid the frertilizer blowing over onto other plots. Small problem with design - because thatch accumulation depends on time this aspect is esssentially unreplicated - depends on particular conditions during thise periods. Theoretically would be better to use a staggered start - but then of course the experiment would take even longer to complete!! Draw boxplots and assess normalityPlot out data to get a visual assessment of the treatment and block effects, and assess how appropriate (parametric) ANOVA is for the set of data.
Draw interaction plotsIf there were no interaction between nitrogen treatment and date, the three lines for the different dates should follow the same trends and be roughly parallel.
Get table of meansCarry out analysis of varianceSums of squares can be calculated SS SS SS
Check diagnosticsAn immediate difficulty arises with checking diagnostics of this split-plot design - if you try plotting out the diagnostics using R, you will simply get the word NULL. This is not because you have done anything wrong! It is simply the result of having only one observation for each of the block × nitrogen × date combinations. The model you have fitted is known as the saturated model. You can get an overview of the situation by fitting the general linear model and assuming that interactions with blocks are non-existent. The sums of squares for all main effects and the A × B interaction will still be correct, and you can assess the various diagnostics. Note, however, that all the F-ratios (and associated P-values) are incorrect because they are no longer using the correct error term.
Worked example 2We take our second example from Ogata & Takeuchi et al (2001)
The data for multicat households (where aggression can be assessed) are given below (complete data sets only). One's first reaction may be (or perhaps should be) that non-parametric analysis would be a much wiser approach given the patently non-normal distribution of the response variable. However, we will attempt an analysis after a transformation. Draw boxplots and assess normalityPlot out data to get a visual assessment of the treatment and block effects, and assess how appropriate (parametric) ANOVA is for the set of data.
As expected for count data, the distribution of the raw data within groups does not approximate to normal - instead the distributions are right skewed. We try a square root transformation (or to be more precise a √(Y + 0.5) transform given the large number of zeros) as a possible normalizing function for small whole numbered counts.
This looks more hopeful - most of the groups have more or less symetrical distributions, albeit still with a few high outliers. A log transformation brought the high outliers down a little more, but at the cost of making several distributions left-skewed. Hence we proceed with the analysis on the square root transformed data bearing in mind we need to examine diagnostics carefully after model fitting. The interaction plot for aggression and week suggests similar trends over time for both aggressive and non-aggressive cats. Get table of meansCarry out analysis of varianceSums of squares can be calculated
Check diagnosticsAs with the split-plot design we consider diagnostics separately for assessment of the treatment factor A (between subjects) and for time and treatment × time (within subjects). Between subjects
We will leave it to you to extract the second set of residuals and assess them.
|