3 weeks ago
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.
3 weeks ago - last edited 3 weeks ago
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.