I'm trying to make sense of a SAS program that I have inherited. It uses a linear mixed model to examine the effects of applied fertilzer rate on the grain yield of corn. There are five different fertilzer rates and three replicates of each rate, and the experiment was repeated each year for three consecutive years.
The existing SAS model is as follows:
proc mixed data = grainYield
plots = studentpanel;
class year treatment rep;
model grainYield = treatment / ddfm = kr;
random int treatment / sub = year;
repeated / sub = rep*treatment type = cs;
lsmeans treatment / diff adjust=bon;
run;
Can anyone tell me why treatment would be specified as a random effect in this model?