BookmarkSubscribeRSS Feed
jessica_join
Obsidian | Level 7
I need a code to find the Odd ratios of individuals stratas. For example my variable is region . I am comparing the effect of region on eczema (my outcome). How do I find the individual crude ORs for each region compared to the outcome?


1 REPLY 1
Reeza
Super User

What does your code currently look like? The example I previously linked you too has the full walk through for a categorical variable. Did you run it and see how it was interpreted?

 

Add your categorical variable to your CLASS statement and then either use the EXPB option (as in the example) or use an ODDSRATIO statement for that variable. 

 

 

sas-innovate-2024.png

Available on demand!

Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.

 

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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

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

View all other training opportunities.

Discussion stats
  • 1 reply
  • 613 views
  • 0 likes
  • 2 in conversation