Hello!
I have created a linear regression of a few thousand points, but I want to show where 15 of those points stand in relation to the regression. I was wondering if there is any way I can make these points a different color or help them stand out in any way?
Thanks,
P
How did you make your current plot?
The regression procedures have varying options to control appearance and manipulate data. You may have to export the data with the regression predicted values, assign a group variable to differentiate between the points of interest and the remainder and use another procedure such as SGplot to display the result.
You really should post this question into Graph forum .
proc sgplot data=sashelp.class;
scatter x=weight y=height/markerattrs=(size=12px symbol=circlefilled) colorresponse=age;
run;
April 27 – 30 | Gaylord Texan | Grapevine, Texas
Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!
Get started using SAS Studio to write, run and debug your SAS programs.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.