Statistical Procedures

Programming the statistical procedures from SAS
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-wordmark-2025-midnight.png

Register Today!

Join us for SAS Innovate 2025, our biggest and most exciting global event of the year, in Orlando, FL, from May 6-9. Sign up by March 14 for just $795.


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