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

Our biggest data and AI event of the year.

Don’t miss the livestream kicking off May 7. It’s free. It’s easy. And it’s the best seat in the house.

Join us virtually with our complimentary SAS Innovate Digital Pass. Watch live or on-demand in multiple languages, with translations available to help you get the most out of every session.

 

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