Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
I hope this helps.
On Tue, Aug 21, 2012 at 5:11 PM, D'Souza, Anna - ERS
> Thank you David H., and from before David G. and Maarten.
> The main question I have is #2 - I would like to find STATA code that calculates the average marginal effects of log x1 on log y - across all values of log x1. The coefficient on the interaction term that STATA provides is the marginal effect of log x1 on log y evaluated at the mean of log x2 (of course to get the total marginal effect of log x1 we need to add the coefficient on log x1 as well). Is there a way to have STATA calculate (and perhaps plot) the total marginal effect of log x1 on log y (against all values of x2)?
* For searches and help try: