" Exercise 6.3
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 Cochran, W.G. & Cox, G.M. (1957) Experimental designs (2nd Edition).
J. Wiley & Sons, New York. (Table 4.1)
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='SCAB.DAT'; IMETHOD=read] FGROUPS=no,5(yes),no
" One-way ANOVA of raw data "
TREATMENTSTRUCTURE Treatment
ANOVA [FPROBABILITY=yes] Y=Scab
" Residual plots "
APLOT [RMETHOD=standardized] METHOD=fittedvalues,normal,histogram,absresidual
" One-way ANOVA of logit-transformed data "
ANOVA [FPROBABILITY=yes; PSE=differences,lsd] Y=LOGIT(Scab)
" Residual plots "
APLOT [RMETHOD=standardized] METHOD=fittedvalues,normal,histogram,absresidual
" Extract treatment means and print back-transformations "
AKEEP TERMS=Treatment; MEANS=means
PRINT STRUCTURE=ILOGIT(means)
" End of File "