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
count the number of distinct observations across variablesHello Stata folks, I am working on a dataset that each school ID has 7 years of data capturing princ…
Error updating somersd; perhaps due to general update problem?I'm unable to use the cendif command within the somersd package. The error I get is identical to tha…
Web scraping / string parsing helpHello, I'm trying to scrape a webpage, and have imported html code as one variable and am trying to…
Fitting the basic AIDS model using nlsurHi, I wrote a program to estimate almost ideal demand system with demographic variables. I modifie…
Problems with spmapGood afternoon, the comment is new with the generation of database in STATA. OBJECTIVE: GENERATE MAP…
Subscribe to:
Post Comments (Atom)
0 Response to Margins expression
Post a Comment