• Laura Whiting

Odds Ratio Graph with Ordered Bar

You can order the bars when creating an odds ratio graph by sorting observations into your chosen order and then generating a variable containing the ordered numbers.

To create this graph in Stata, you first need to download two commands from the SSC, which you can do in Stata with the following commands:

To generate this graph in Stata, use the following commands:

8 views0 comments