The SAS Output Delivery System and reporting techniques

Is any SAS macro available

Reply
Occasional Contributor
Posts: 5

Is any SAS macro available

I have generated the report as attached using a SAS macro from the results of proc freq for a set of variables.Now if I want to get the odds ratios for n*n tables and combine that into the output table how do I do that?For contingency tables which are not 2*2 how can I do that?

As shown in the screen shot I need two extra columns for odds ratio and the coresponding confidence intervals also.he attached screenshot is just the sample partial output.

Attachment
Esteemed Advisor
Posts: 5,954

Re: Is any SAS macro available

Please supply some example data (in a data step) and the code you already run.

---------------------------------------------------------------------------------------------
Maxims of Maximally Efficient SAS Programmers
Post a Question
Discussion Stats
  • 1 reply
  • 74 views
  • 0 likes
  • 2 in conversation