Dear all,
I'm writing my thesis for my Master's degree. I am using (OLS) regressions to test the relationship between International diversification and Firm performance and how this relationship is moderated by Cultural diversity. International diversification is measured by the percentage of foreign subsidiaries and a self created international diversification score. The measure for firm performance is ROA. Control variables in this model are Number of different countries and Number of employees. Cultural diversity is measured by the first four dimensions of Hofstede.
Now I have done all my regressions, testing for a linear relationship and a U- and S-shaped relationship. I want to create marginplots to check my results and visualize them. I already found several posts about marginsplot and try to do it on my own but it won't work. I want to plot my dependent variable over my independent variable and if possible moderator?
Below are the results of three regressions:
If I try to make margins I fill in the following:
margins, at(Dependent=(-30(0)30) Independent1 = (0(0.5)1))
Or different ones, but everytime Stata gives me the following:
variable 'Dependent' not found in list of covariates
or
Independent1: factor variables may not contain noninteger values
I tried to google for solutions, searched this website but did not find an answer and now I don't know what to do anymore.
Hope one of you has the solution so I can finish my thesis
Thank you very much in advance for your time.
Kind regards,
Christiaan van der Rijsen
I'm writing my thesis for my Master's degree. I am using (OLS) regressions to test the relationship between International diversification and Firm performance and how this relationship is moderated by Cultural diversity. International diversification is measured by the percentage of foreign subsidiaries and a self created international diversification score. The measure for firm performance is ROA. Control variables in this model are Number of different countries and Number of employees. Cultural diversity is measured by the first four dimensions of Hofstede.
Now I have done all my regressions, testing for a linear relationship and a U- and S-shaped relationship. I want to create marginplots to check my results and visualize them. I already found several posts about marginsplot and try to do it on my own but it won't work. I want to plot my dependent variable over my independent variable and if possible moderator?
Below are the results of three regressions:
If I try to make margins I fill in the following:
margins, at(Dependent=(-30(0)30) Independent1 = (0(0.5)1))
Or different ones, but everytime Stata gives me the following:
variable 'Dependent' not found in list of covariates
or
Independent1: factor variables may not contain noninteger values
I tried to google for solutions, searched this website but did not find an answer and now I don't know what to do anymore.
Hope one of you has the solution so I can finish my thesis

Thank you very much in advance for your time.
Kind regards,
Christiaan van der Rijsen
Comment