04-21-2017 01:55 PM
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
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;
04-21-2017 02:32 PM
The mean comparison has to be separate by factor A, in this case, irrigation.
And I also discover that the data is not normallly distributed so I will have to use non-parametric anlysis... I have no idea how to do that
05-18-2017 04:12 PM
Since you are not farmiliar with the Non-parametric test transform your data so that you can continue with the Proc glm? The proc glm will only run data that their residuals are normally distributed. Or it will but the results will be wrong. Another alternative i can suggest is to run your data using the Proc glimmix since it will allow you to define the distribution that fit your data best and link it to the normal dist using any link function that is suitable.
Hope it helps.