" Exercise 4.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 K. Hammond-Kosack, 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='GRAINS.DAT'; IMETHOD=READ] FGROUPS=no,yes,no " Reorder levels of factor Treatment so that Control is the 5th level " FACAMEND FACTOR=Treatment; NEWLEVELS=!(1,2,3,5,4) " One-way ANOVA " TREATMENTSTRUCTURE Treatment ANOVA [FPROBABILITY=yes; PSE=differences,lsd] Y=Grains " End of File "