Split plot analysis - oat Variety.Nitrogen # Title Line
# "C:\new.txt (Created by Genstat: 13:54:37 06/01/99)"
# blocks nitrogen subplots variety wplots yield
# 1 0.6ct 1 Marvellous 1 156
# 1 0.4ct 2 Marvellous 1 118
# 1 0.2ct 3 Marvellous 1 140
# 1 0ct 4 Marvellous 1 105
# 1 0ct 1 Victory 2 111
# 1 0.2ct 2 Victory 2 130
# 1 0.6ct 3 Victory 2 174
# 1 0.4ct 4 Victory 2 157
blocks *
nitrogen !A
subplots
variety !A
wplots *
yield
oats.asd !skip 2 # The qualifier !SKIP 2 says to ignore
# the first 2 lines in the data file
yield ~ mu variety nitrogen variety.nitrogen,
!r blocks blocks.wplots # Comma means model is continued
predict nitrogen
predict variety
predict nitrogen variety !sed
predict var nit !fitmar !sed
predict var nit !fitmar !sed !AVERAGE block
predict var !only variety !print
This job from the examples folder performs a split plot analysis
of an oat experiment highlighting a variety of predict statements.