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

 

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