Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

problem with 3 factorial code

Status
Not open for further replies.

newsas

Technical User
Feb 8, 2012
1
US
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
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top