Hi,
I am estimating a simple regression with interactions Y=a+bX+cZ+dXZ+error using the following command:
Then, I estimate the marginal effects of X and Z using the following command:
After that, I compute the marignal effects simply using the following commands:
The problem is that the estimated marginal effect of X is much larger in the regression without interaction term compared to the regression with the interaction term, while the marginal effect of Z is almost identical in the regression with and without interaction term.
Would you reckon why that may be the case? How can the interaction term change the marginal effect on X so much while the marginal effect on Z is almost unchanged?
Thanks
Lukas
I am estimating a simple regression with interactions Y=a+bX+cZ+dXZ+error using the following command:
Code:
regress Y c.X##c.Z, robust
Code:
margins, dydx(X Z)
Code:
regress Y X Z, robust margins, dydx(X Z)
Would you reckon why that may be the case? How can the interaction term change the marginal effect on X so much while the marginal effect on Z is almost unchanged?
Thanks
Lukas
Comment