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
Unexpected error/problem with labmaskDear all, I am trying to use labmask to assign a numeric variable "school_geo_area" the values of (…
Calling alternative do files from Master fileDear All, I have a dataset with daily frequency. A small example is attached. Code: * Example gen…
Merging individual-level administrative data setsI am combining multiple administrative data sets and would be happy to receive input on a sensible a…
if ignored when using logit with tech() optionDear all, when using nbreg, I encountered a problem which I was able to replicate when estimating a…
Display values (with error bars) for several percentiles in a bar graphI would like to create a bar graph (with error bars) that dísplays the values (finr) for two categor…
Subscribe to:
Post Comments (Atom)
0 Response to Margins expression
Post a Comment