Hey everybody,

I found the following graph in a paper and would like to recreate the exact same graph for my research question and variables. I have regressions of the type:

Code:
xtreg y x##x##dummy controls, fe vce(cluster ID)
and want to plot the relationship between y and x for the two categories dummy = 1 and dummy = 0.

The authors write: To create this figure, all of the variables in Model 3 in Table 2 except strategic change (and strategic change squared) and ‘outside CEO’ were constrained to their mean values. Strategic change took values ranging from three standard deviations below the mean to three standard deviations above the mean (and strategic change squared was calculated accordingly). ‘Outside CEO’ took the values one and zero.

Could anyone guide me along on how to do this? Thank you for you help! (Sorry for the screenshot, I know I'm not allowed to post a screenshot but don't know how else to get the graph in here).


Array