" Exercise 8.2 Statistical Methods in Biology: Design and Analysis of Experiments and Regression by S.J. Welham, S.A. Gezan, S.J. Clark & A. Mead (2014) Chapman & Hall/CRC Press, Boca Raton, Florida. ISBN: 978-1-4398-0878-8 Data from M. Wilkinson, Rothamsted Research Version 1, 26/06/2014 " " Set working directory - change to location of your data file " \SET [WORKINGDIRECTORY='d:/stats4biol/data/'] " Read data from working directory " FILEREAD [NAME='CALLUS.DAT'; IMETHOD=read] FGROUPS=no,5(yes),no " Plot the observed data " TRELLIS [GROUPS=Type; PENGROUPS=Age] Y=Weight; X=Conc " Three-way ANOVA with blocks using observed data " BLOCKSTRUCTURE Tray/Container TREATMENTSTRUCTURE Age*Conc*Type ANOVA [FPROBABILITY=yes] Y=Weight " Residual plots based on standardized residuals " APLOT [RMETHOD=standardized] METHOD=fittedvalues,normal,histogram,absresidual " Save and print predicted means for each main effect " AKEEP TERMS=Age,Conc,Type; MEANS=AMeans,CMeans,TMeans PRINT STRUCTURE=AMeans,CMeans,TMeans " End of File "