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]

st: margins with a transformed (natural log) independent variable

From   Lloyd Dumont <>
To   "" <>
Subject   st: margins with a transformed (natural log) independent variable
Date   Thu, 20 Oct 2011 11:53:54 -0700 (PDT)

Hello.  I am trying to obtain predicted probabilities using �rgins- after xtlogit.  The problem is that the variable I am interested in analyzing is a log transform.  So, the �rginsplot- yields a straight line.
- margins, at(INDEPVAR3_ln=(0(.5)4.5)) predict(pu0)
- marginsplot
I know how to deal with this issue if the transformed variable is a quadratic.  You just have to make sure you use the syntax for factor variables in the estimation command.  But, how do I let Stata know it’s a log transform?
Thank you for your help!  Lloyd Dumont

*   For searches and help try:

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