BookmarkSubscribeRSS Feed
cw13
Calcite | Level 5

Using the code below, I have created a scatter a 95% prediction ellipse.  I added an ODS output statement in hopes of getting the datapoints for the prediction ellipse that are being plotted.  However the output dataset provides the x and y axis values along with the slope.  Is there a formula I can apply to take the output dataset provided and create the x,y coordinates that are actually plotted to create the prediction ellipse.


proc sgplot data=sashelp.class;
ods output sgplot=sg ;
scatter x=height y=weight;
ellipse x=height y=weight;
run;

1 REPLY 1

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 1 reply
  • 645 views
  • 2 likes
  • 2 in conversation