For a panel fe regression where the IV and DV have both been log-transformed, I would like to know how I can use the margins command to identify the marginal effect of the original (non-log transformed) IV on the original (non-log transformed) DV. To give a very simple example, lets take the IV and DV to be x and y. The regression function is:
xtreg ln_y ln_x, fe
margins, ln_x will give the marginal impact of ln_x on ln_y. However, I would like to find the marginal impact of x on y. Is there anyway to use the "expression" option with margins to obtain this? Thank you.
Related Posts with Margins expression
How would I apply a control function approach (CF)/Two-Stage Residual Inclusion (2SRI), when the first stage is an ordinal probit/logit?I read this post, with a very nice answer by Mr. Wooldridge: Sven: It's easy to extend Procedur…
Issue with a Looped Tobit Regression Predicting too high valuesHi Stata Forum I have an issue with a tobit regression predicting too high values. As a part of me …
Listing specific lowsI'm wondering if I can list pre-selected rows. Let's say, I would like to list var1 and var2 for obs…
Problem with calculating the cumulated frequencyHi, Using the code below, I am trying to calculate the cumulated frequency at age x and above it. Ho…
Panel Data Manipulation: Divide All By Group of DataHi, I am trying to recreate the table below: Array I have created the mean education for period b…
Subscribe to:
Post Comments (Atom)
0 Response to Margins expression
Post a Comment