The SAS Output Delivery System and reporting techniques

Is any SAS macro available

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.

Super User
Posts: 9,925

Re: Is any SAS macro available

Posted in reply to nikhilakpalli

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

Maxims of Maximally Efficient SAS Programmers
How to convert datasets to data steps
How to post code
Ask a Question
Discussion stats
  • 1 reply
  • 2 in conversation