04-29-2017 12:37 PM
is that possible to run out a scatter plot within multiple groups, also with regression line, coefficient and pvalue in one figure? I want use macro or dynamic proc template since I have lots of variables. I searched a lot, but didn't get a good example. Anyone can provide me some idea or example??
Thanks so much.
04-29-2017 05:13 PM - edited 04-29-2017 06:50 PM
yes it is possible. If you would like to see lots of examples with sample code check out Robert Allisons work at http://robslink.com/SAS/#!
PROC REG also has quite a few
Proc reg data=sashelp.class; model height=weight; run;
plotting capabilities. there is even a PLOT statement.