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

Catch up on SAS Innovate 2026

Dive into keynotes, announcements and breakthroughs on demand.

Explore Now →

SAS Training: Just a Click Away

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

Browse our catalog!

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