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-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—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
  • 1107 views
  • 0 likes
  • 1 in conversation