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 Kicks Off on June 11!

Watch the live Hackathon Kickoff to get all the essential information about the SAS Hackathon—including how to join, how to participate, and expert tips for success.

YouTube LinkedIn

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