Dear,
I am recently used the proc sgplot and found there is a ELLIPSE statement could be used after the scatter plot, after I read the documentation, I still felt confused about the rationale and function of the ELLIPSE. Could anyone help me on this?
Thanks in advance.
A ellipse is a graphical representation of the area in which a new obs would be expected to appear (at a given probability level, based on the x and y values in your data).
Dear Fugue,
Really appreciated for your help. Could I understand your words as this is a prediction plot at a given significance level based on the given x & y data?
That would be correct!
For more information about prediction ellipses, see my blog post "Add a prediction ellipse to a scatter plot in SAS"
For statisticians who need to go beyond the capabilities of the ELLIPSE statement, see the advanced article "Computing prediction ellipses from a covariance matrix"
It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.
Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.