Statalist


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

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


From   "Martin Weiss" <[email protected]>
To   <[email protected]>
Subject   st: AW: how to get marginal effect when dependent variable has ln function?
Date   Sun, 21 Jun 2009 16:06:32 +0200

<> 

Well, invoking any special command here does not improve on the output that
you already have in hand from your -regress- command. The coefficients that
you see there are the percent increase in y given a one unit increase in the
respective covariate (semielasticity).



HTH
Martin


-----Ursprüngliche Nachricht-----
Von: [email protected]
[mailto:[email protected]] Im Auftrag von [email protected]
Gesendet: Sonntag, 21. Juni 2009 08:28
An: statalist
Betreff: st: how to get marginal effect when dependent variable has ln
function?

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/


*
*   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