turn on suggestions

Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.

Showing results for

Find a Community

- Home
- /
- SAS Programming
- /
- SAS/GRAPH and ODS Graphics
- /
- scatter plot with regression line and coefficient ...

Topic Options

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content

3 weeks ago

Hi All,

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.

C

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content

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.