BookmarkSubscribeRSS Feed
Epiguy
Calcite | Level 5

I am new to case-control studies in health records analysis. I need to develop a code that will process and analyze a case-control study project that matched 1 case to 10 controls, and to assess odds ratios and confidence intervals for 12 independent variables with several categories and one dependent variable. Can anyone provide a sample code to guide in this process?

1 REPLY 1
Reeza
Super User

https://documentation.sas.com/?docsetId=statug&docsetTarget=statug_phreg_examples05.htm&docsetVersio...

 

Try PROC PHREG for starters. You can also search on LexJansen.com for many different papers on the topic. These are user written papers so the quality can vary. 

 


@Epiguy wrote:

I am new to case-control studies in health records analysis. I need to develop a code that will process and analyze a case-control study project that matched 1 case to 10 controls, and to assess odds ratios and confidence intervals for 12 independent variables with several categories and one dependent variable. Can anyone provide a sample code to guide in this process?


 

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 Updates

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

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
  • 1011 views
  • 0 likes
  • 2 in conversation