Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ods excel file='/home/u63376027/Export/Scatterplots_with_Regression Line.xlsx' style=seaside;
- proc sgplot data=STPSAMP.STPEURO noautolegend;
- title 'Population vs Growth';
- reg y=pop x=growth /
- lineattrs=(color=red thickness=2)
- markerattrs=(color=green size=8px symbol=circlefilled);
- xaxis grid values= (-0.04 to 0.04 by 0.001);
- yaxis grid values = (0 to 150000000 by 10000000);
- run;
- proc sgplot data=STPSAMP.STPEURO noautolegend;
- title 'Birth vs Growth';
- reg y=birth x=growth /
- lineattrs=(color=red thickness=2)
- markerattrs=(color=green size=8px symbol=circlefilled);
- xaxis grid values= (-0.04 to 0.04 by 0.001);
- yaxis grid values = (0 to 22 by 2);
- run;
- ods excel close;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement