BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
jieun
Calcite | Level 5

 

Nested data analysis in proc mixed 
I want to set up a nested 3-level model in proc mixed, say repeated observations within 'CS_No_stud' within 'pt_num_school' within g'roup_district'. I do something like:
 
proc mixed data=data noclprint covtest noitprint PLOTS(MAXPOINTS=NONE);
class pt_num_school group_district CS_No_stud;
model strut_neointimal_thickness= /solution ddfm=bw ;
random int/ sub=group_district;
random int/ sub=pt_num_school(group_district);
repeated / sub=CS_No_stud(pt_num_school *group_district) type=cs;
run;

 

then, the result is in attach file...

why group_district does not estimate??

please let me know~~~~ASAP

THANK YOU~~

1 ACCEPTED SOLUTION

Accepted Solutions
jieun
Calcite | Level 5
PROC MIXED output
 
Nested data analysis in proc mixed 
I want to set up a nested 3-level model in proc mixed, say repeated observations within 'CS_No_stud' within 'pt_num_school' within g'roup_district'. I do something like:
 
proc mixed data=data noclprint covtest noitprint PLOTS(MAXPOINTS=NONE);
class pt_num_school group_district CS_No_stud;
model strut_neointimal_thickness= /solution ddfm=bw ;
random int/ sub=group_district;
random int/ sub=pt_num_school(group_district);
repeated / sub=CS_No_stud(pt_num_school *group_district) type=cs;
run;

 

then, the result is in attach file...

why group_district does not estimate??

please let me know~~~~ASAP

THANK YOU~~


캡처.JPG

View solution in original post

1 REPLY 1
jieun
Calcite | Level 5
PROC MIXED output
 
Nested data analysis in proc mixed 
I want to set up a nested 3-level model in proc mixed, say repeated observations within 'CS_No_stud' within 'pt_num_school' within g'roup_district'. I do something like:
 
proc mixed data=data noclprint covtest noitprint PLOTS(MAXPOINTS=NONE);
class pt_num_school group_district CS_No_stud;
model strut_neointimal_thickness= /solution ddfm=bw ;
random int/ sub=group_district;
random int/ sub=pt_num_school(group_district);
repeated / sub=CS_No_stud(pt_num_school *group_district) type=cs;
run;

 

then, the result is in attach file...

why group_district does not estimate??

please let me know~~~~ASAP

THANK YOU~~


캡처.JPG

SAS Innovate 2025: Register Now

Registration is now open for SAS Innovate 2025 , our biggest and most exciting global event of the year! Join us in Orlando, FL, May 6-9.
Sign up by Dec. 31 to get the 2024 rate of just $495.
Register now!

What is ANOVA?

ANOVA, or Analysis Of Variance, is used to compare the averages or means of two or more populations to better understand how they differ. Watch this tutorial for more.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 1 reply
  • 1677 views
  • 0 likes
  • 1 in conversation