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-2024.png

Join us for SAS Innovate April 16-19 at the Aria in Las Vegas. Bring the team and save big with our group pricing for a limited time only.

Pre-conference courses and tutorials are filling up fast and are always a sellout. Register today to reserve your seat.

 

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
  • 1433 views
  • 0 likes
  • 1 in conversation