My code:
twoway (scatter state year, sort by(province)) (scatter wagepre year, sort yaxis(2) by(province)) (lfit state wagepre), ytitle(State employment %) ytitle(Wage premium) xtitle(Year) xlabel(1951(10)2014) legend(order(1 "State employment" 2 "Wage premium" ))
does not work.
Related Posts with How to draw graph with both axis labeled with different scale
Regress in fixed time periodI have a dataset from 2004-2022 and want to form a regression every rolling 6 months so jan 2004-jun…
Create new variable using coefficient from a variable containing time dummyHello everyone, I'm using Stata version 14.0. I'm actually trying to estimate the natural rate of un…
How to fix when option is not allowed (r198)?Hello, I am currently using Stata/SE14.1 and I simply tried the following codes metan ln_HR ln_LCI …
converting modate format string to numericDear All, I have the data which is in the following format. The modate is in string format. The dat…
Weights not workingHi everyone, I've been trying to run a regression analysis with weights, but Stata keeps telling me…
Subscribe to:
Post Comments (Atom)
0 Response to How to draw graph with both axis labeled with different scale
Post a Comment