/* Exercise 5.4 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 J. Baverstock, Rothamsted Research Version 1, 26/09/2014 */ * Read data - change directory to location of your data file; data FUNGUS; infile 'C:\stats4biol\data\FUNGUS.DAT' firstobs=2 expandtabs; input DAphid Fungus $ Nymphs; run; * One-way ANOVA with Bartlett's test; proc glm data=FUNGUS; class Fungus; model Nymphs = Fungus; lsmeans Fungus / stderr cl alpha=0.05; means Fungus / HOVTEST=BARTLETT; run;