Statalist


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

st: how to get marginal effect when dependent variable has ln function?


From   [email protected]
To   statalist<[email protected]>
Subject   st: how to get marginal effect when dependent variable has ln function?
Date   Sun, 21 Jun 2009 14:27:47 +0800

Dear statalists,
I have an equation below:
lny=a0+a1*x1+a2*x2+e

and I typed below in the stata:

g lny=ln(y)
reg lny x1 x2

However, how can I get the marginal effect of x1 on y? 

Thank you a lot!

Sincerely,
from Rose

*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



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