" Exercise 7.3b 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 A. Ferguson, Rothamsted Research Version 1, 20/08/2014 " " Set working directory - change to location of your data file " \SET [WORKINGDIRECTORY='d:/stats4biol/data/'] " Read data from working directory " FILEREAD [NAME='OEDOTRAP.DAT'; IMETHOD=read] FGROUPS=no,4(yes),no " One-way ANOVA of trap counts with blocks and pseudo-replication " BLOCKSTRUCTURE Block/Plot/Trap TREATMENTSTRUCTURE Treatment ANOVA [FPROBABILITY=yes] Y=TrapCount " Residual plots " APLOT [RMETHOD=standardized] METHOD=fittedvalues,normal,histogram,absresidual " One-way ANOVA of logged trap counts (with offset) with blocks and pseudo-replication " BLOCKSTRUCTURE Block/Plot/Trap TREATMENTSTRUCTURE Treatment ANOVA [FPROBABILITY=yes; PSE=differences,means] Y=LOG10(TrapCount+1) " Residual plots " APLOT [RMETHOD=standardized] METHOD=fittedvalues,normal,histogram,absresidual " End of File "