- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
Is there a way to change the line patters and colors of the output of ROC curves derived from pro logistic?
I get this picture, but I would like to change to gray scale and more distinct line patterns.
I used a template, and I've been able to change the line thickness and the fonts, but I can't seem to change the color of the lines or the line patterns.
Any ideas?
Thanks
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
model ......../outroc=roc ;
run;
could get the data to plot ROC curve,
and using PROC SGPLOT to plot it by yourselef .
@Rick_SAS has written a blog about it before.
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
model ......../outroc=roc ;
run;
could get the data to plot ROC curve,
and using PROC SGPLOT to plot it by yourselef .
@Rick_SAS has written a blog about it before.
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
What version of SAS are you running?
%put &=SYSVLONG4;
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
SAS Enterprise Guide 7.1
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
Thanks, but that is not the information we need. Please submit the statement
%put &=SYSVLONG4;
and send the value that is displayed in the log. It will look something like this:
7529 %put &=SYSVLONG4;
SYSVLONG4=9.04.01M6P11072018
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
It would be great to see the code you are using to generate the ROC curve. In general, you have three options:
1. Use an ODS style. For grayscale and line patterns, use the JOURNAL style:
ods HTML style=Journal;
proc logistic data=Sashelp.Class;
model Sex = height weight age;
roc height;
roc weight;
roc age;
run;
2. Use one of the techniques in the SAS/STAT documentation chapter "Statistical Graphics Using ODS."
The %MODSTYLE macro is often effective.
3. As KSharp suggested, write the data to a SAS data set and use PROC SGPLOT and use the features in that procedure to control the attributes of the curve. If the data is in "long form," use the STYLEATTRS statement. If you use multiple SERIES statement, use the LINEATTRS= option.
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
Thanks.Using proc sgplot and customizing the output is working.