Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: marginal effects of interacting variables


From   Mehmet Beceren <[email protected]>
To   [email protected]
Subject   st: marginal effects of interacting variables
Date   Fri, 03 Oct 2003 10:19:06 -0400

Hi,
I have a regression with interacting variables in the following form: Y = a + bX1 + cX2 + zX1X2
And I would like to estimate the total marginal effect (total derivative) of X1 and the standard error of the total derivative.
The derivative at the mean of the variables will be b + z* meanX1*meanX2

Does anyone know a quick command to get the SE of the total derivative after such a regression? Manual calculations become harder as the number of interacting variables increase.

Mehmet

*
* For searches and help try:
* http://www.stata.com/support/faqs/res/findit.html
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/




© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index