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

sas-innovate-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

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!

Register now

SAS Training: Just a Click Away

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

Browse our catalog!

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