Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

Re: st: lincom syntax question - help with modeling percentage increase in IV


From   "Austin Nichols" <austinnichols@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: lincom syntax question - help with modeling percentage increase in IV
Date   Fri, 28 Mar 2008 14:09:53 -0400

The question is less than clear--are you looking for the effect of a
0.05 increment to the proportion X or a 5% increase from the mean of
X? Did you want something like this?

webuse union
xtlogit union age grade not_smsa if south
lincom 0.05*age, or

where instead of the OR associated with a one-unit increase in age, we
want a 0.05 unit increase, i.e. what is the effect on the odds of
being unionized of being 438 hours older?  A silly example, to be
sure.

On Fri, Mar 28, 2008 at 1:04 PM, Sandi.L.Pruitt@uth.tmc.edu wrote:
>  Dear all,
>
>  I have a continuous level 2 independent variable in a 2 level random effects model (xtlogit) that represents a proportion (range: 0-1) and I would like to obtain the OR for a 5% increase in this variable.
>
>  I think lincom is the right command for this? Can someone help me with the correct syntax?
>
>  Thank you,
>  Sandi
>
>  Sandi L. Pruitt, MPH
*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index