Hi, I have this code...........
data temp;
infile 'E:\data.csv' delimiter=',' dsd;
input id grp $ si $ ter $ int acc dis;
run;
proc glm data=temp;
class grp si ter;
model acc dist = grp si ter grp*si grp*ter si*ter grp*si*ter;
test h=grp e=grp*si;
test h=grp e=grp*ter;
test h=si e=si*ter;
test h=grp e=grp*si*ter;
repeated si ter;
proc print data = temp;
run;
..............................................
earlier I had a NESTED variable in it as well. Basically, the variable "id" was nested in "grp", so I used id(grp) as another variable in my model.bUT it just does not work....Is there any other way to work this out...some other method to do nested design
data temp;
infile 'E:\data.csv' delimiter=',' dsd;
input id grp $ si $ ter $ int acc dis;
run;
proc glm data=temp;
class grp si ter;
model acc dist = grp si ter grp*si grp*ter si*ter grp*si*ter;
test h=grp e=grp*si;
test h=grp e=grp*ter;
test h=si e=si*ter;
test h=grp e=grp*si*ter;
repeated si ter;
proc print data = temp;
run;
..............................................
earlier I had a NESTED variable in it as well. Basically, the variable "id" was nested in "grp", so I used id(grp) as another variable in my model.bUT it just does not work....Is there any other way to work this out...some other method to do nested design