BookmarkSubscribeRSS Feed
Jie111
Quartz | Level 8

I want to compare the BMI change between people with and without disease. I have cases and their matched controls, matching by age and sex.

How could I take the matching pair into account in the proc mixed?

 

               proc mixed data = data;
                   class  t ;
                  model edss_score = follow_up_year follow_up_year*edu_self_report_3g edu_self_report_3g ;                                        
                      repeated t/ type= vc  subject=study_id r rcorr;
                      random intercept follow_up_year/type= vc  subject=study_id ;   
                 run;     

 

Jie111_0-1726290788527.png

 

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