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