Dear all,

I'm working on my masters thesis switched from SPSS to Stata in order to create plots for my interactions. I read that I can create plots using the margins command. However, I can't finy any how-to's for my problem. I have a linear direct effect and want to plot an interaction based on my quadratic moderator (MODSQ).

Can anyone help me creating a plot showing the marginal effect of IV on DV for different values of my moderator (MODSQ)?

Thank you so much.

Best,

Jean

I'm working on my masters thesis switched from SPSS to Stata in order to create plots for my interactions. I read that I can create plots using the margins command. However, I can't finy any how-to's for my problem. I have a linear direct effect and want to plot an interaction based on my quadratic moderator (MODSQ).

Code:

reg DV IV MOD MODSQ IVxMOD IVxMODSQ CONTROL1 CONTROL2 CONTROL3

Thank you so much.

Best,

Jean

## Comment