Hello All,
I am looking to get some assistance please; I am seeking info on producing graphs in Stata, following regressions.
Consider a dependent variable of company growth, independent variables such as assets and wages - all continuous variables.
After running a regression like : regress growth assets wages variableX variableY,
I would to be able to do the following:
(A) display growth on the y-axis and display both assets and wages on the x-axis (two separate curves that can allow comparison of both the assets-growth and the wages-growth relationships in the same graph)
(B) display a moderating relationship - that is, how a categorical variable such as CompanyStage moderates the assets-growth relationship. Here, growth will be on the y-axis while assets will be on the x-axis. The graph will have 2 curves - one curve showing the assets-growth relationship of stage1 companies, and the second curve on the same graph will show the assets-growth relationship of stage2 companies. CompanyStage will be a dichotomous dummy variable (stage1 =0; stage2 = 1)
The regression command before the graphs will be such as the following:
regress growth assets wages assets*stage1 assets*stage2
Can you please assist?
Thank you!
K
Comment