Programming the statistical procedures from SAS

Proc freq relrisk... reverse order

Reply
Contributor
Posts: 20

Proc freq relrisk... reverse order

Seems pretty simple but can't seem to find documentation about this...

How do I reverse the order of the values so the odds ratio is the inverse/converse/whatever(!)?

For instance, if the values of the variable of interest were 'female' and 'male', the odds ratio would default to male over female... but I'd like to get female over male.
Trusted Advisor
Posts: 2,114

Re: Proc freq relrisk... reverse order

recode the variables so they are in the order you want.
Ask a Question
Discussion stats
  • 1 reply
  • 185 views
  • 0 likes
  • 2 in conversation