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 2024

Innovate_SAS_Blue.png

Registration is open! SAS is returning to Vegas for an AI and analytics experience like no other! Whether you're an executive, manager, end user or SAS partner, SAS Innovate is designed for everyone on your team. Register for just $495 by 12/31/2023.

If you are interested in speaking, there is still time to submit a session idea. More details are posted on the website. 

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.

Get the $99 certification deal.jpg

 

 

Back in the Classroom!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

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