I am having problem to write SAS code for Mean comparisons among subplot levels within a common main plot in a split plot design. This is what I have so far, But I think it is wrong proc sort data=test by ir; proc glm data=test; class rep ir nrate; model ndvi ndre ci = rep ir rep*ir nrate ir*nrate; test h=ir e=rep*ir; lsmeans nrate/lsd; by ir; run;
... View more