Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: st: presenting odds ratios using log scale

From   Maarten buis <[email protected]>
To   [email protected]
Subject   Re: st: presenting odds ratios using log scale
Date   Mon, 11 Oct 2010 09:42:52 +0100 (BST)

--- On Sun, 10/10/10, martine etienne wrote:
> I'm trying to graph my odds ratios using a logarithmic
> scale but my graph looks very weird because the odds
> values are so small and because my yscale min is .01 
> (crosses 1) and max is 10. and I have log values like .98
> and 1.08. Can anyone help me figure out how to graph these
> values in a way that look nice graphically.

Typically, I would do something like that by creating a 
"dataset" containing the odds ratios, and plot them using
-yscale(log)- or -xscale(log)- option. Often I need to 
specify nice values for the axis labels using the -ylab()-
or -xlab- option, as the default labels are usually not
nice for log scales.

This is not very specific advise, but I need more specific
information on what you want your graph to look like in
order to give you more specific advise. For example, if
you are plotting an interaction, then you typically want
a line graph, otherwise you often want a scatter plot.
Do you want to include confidence intervals?

Hope this helps,

Maarten L. Buis
Institut fuer Soziologie
Universitaet Tuebingen
Wilhelmstrasse 36
72074 Tuebingen


*   For searches and help try:

© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index