Hello friends and STATA experts,
I'm trying to determine the moderating effect of a dummy variable (0= uncontroversial 1= controversial industries) on a simple regression with random effects. Both the dependent variable (ESG) and Independent Variable (Sh [Shareholder]) of that regression are continous.
The great Carlo Lazzaro has already helped me to examine the interaction of the two predictors.
I'm trying to determine the moderating effect of a dummy variable (0= uncontroversial 1= controversial industries) on a simple regression with random effects. Both the dependent variable (ESG) and Independent Variable (Sh [Shareholder]) of that regression are continous.
The great Carlo Lazzaro has already helped me to examine the interaction of the two predictors.
Code:
xtreg ESG i.Industry#c.Sh, re
I also created a graph to visualize the effect in controversial and uncontroversial Industries:
twoway (line fit Sh if Industry==0, sort) (line fit Sh if Industry==1, sort lp(-)), legend(lab(1 "Industry 0 (MPA)") lab(2 "Industry 1 (IFN)") ring(0) pos(1))
Now my supervisor has asked me to show that the difference between the two Graphs, respectively the two values the dummy variable takes is significant.
I'd be very thankful if any of you has an idea how to Show this significance.
Kind regards,
Konstantin
Comment