BookmarkSubscribeRSS Feed
Cruise
Ammonite | Level 13

Hi guys,

 

I'm trying to use SAS for case-control design.

 

The response variable is 'obese' vs 'nor-obese'.

 

The exposure is defined by number of years of individuals participation in the weight loss program:

durcat 1-participated 1 year 

durcat 2-participated 2 years 

durcat 3-participated 3 years 

durcat 4-participated 4 years 

durcat 5-participated 5 years 

 

proc freq data=have;
tables obese*durcat/cnh gender race age income_category;
run;

 

I found below SUGI paper highly relevant.

http://www2.sas.com/proceedings/sugi24/Stats/p282-24.pdf

 

MY QUESTION IS:

Do you know other approaches or PROC options than using MACRO with PROC FREQ to conduct case control study as explained above?

1 REPLY 1
Cruise
Ammonite | Level 13

Guys,

 

I think I could use proc logistic or proc genmod to estimate RR instead OR. Below guide was very helpful.  

 

https://stats.idre.ucla.edu/sas/faq/how-can-i-estimate-relative-risk-in-sas-using-proc-genmod-for-co...

 

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Update

What is Bayesian Analysis?

Learn the difference between classical and Bayesian statistical approaches and see a few PROC examples to perform Bayesian analysis in this video.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 1 reply
  • 1199 views
  • 0 likes
  • 1 in conversation