Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[no subject]

I hope this helps.

David Hoaglin

On Tue, Aug 21, 2012 at 5:11 PM, D'Souza, Anna - ERS
<> wrote:
> 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:

© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index