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
Weird errorIs there a solution to typing the following in the command line...? . set obs 1000 /*what*/ varlist…
Interpolate data from another periodHey guys, I work with panal data in stata Version Stata/SE 16.1. I want to do regressions in the y…
Local regression of interaction termsIs it possible to get a local (lpoly/loess) smooth of an interaction term? Like, smoothing how the e…
Combining coefplot with stdBetaDear all while this might sound odd, I need help with getting two packages working together. Here…
Looping across sets of variables to generate new variableHi all, This feels like a relatively simple question, so apologies if I have missed a similar answe…
Subscribe to:
Post Comments (Atom)
0 Response to Margins expression
Post a Comment