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