Good afternoon everyone,
I am currently having an issue with the graph adjustment in Stata.
I am trying to replicate the provided graph as follow:
And my graph from Stata is displayed as below:
As you can see, the values of my vertical axis are the same as the model, but their position and scale is not the same.
How can I adjust them? The command that I used as follow:
Command: twoway (line residual Year) (line fitted_log_P Year, yaxis(2)) (line log_P Year, yaxis(2)), ylabel(-0.3(0.1)0.3) ylabel(-0.4(0.4)1.6, axis(2)) xlabel(1955(5)2005) xmtick(##5)
I am looking for your help. Best wishes!
I am currently having an issue with the graph adjustment in Stata.
I am trying to replicate the provided graph as follow:
And my graph from Stata is displayed as below:
As you can see, the values of my vertical axis are the same as the model, but their position and scale is not the same.
How can I adjust them? The command that I used as follow:
Command: twoway (line residual Year) (line fitted_log_P Year, yaxis(2)) (line log_P Year, yaxis(2)), ylabel(-0.3(0.1)0.3) ylabel(-0.4(0.4)1.6, axis(2)) xlabel(1955(5)2005) xmtick(##5)
I am looking for your help. Best wishes!

Comment