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?


 

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

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