Graphics Programming

Data visualization using SAS programming, including ODS Graphics and SAS/GRAPH. Charts, plots, maps, and more!
BookmarkSubscribeRSS Feed
Jack2012
Obsidian | Level 7

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.

4 REPLIES 4
Fugue
Quartz | Level 8

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).

Jack2012
Obsidian | Level 7

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?

Fugue
Quartz | Level 8

That would be correct!

Rick_SAS
SAS Super FREQ

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"

sas-innovate-white.png

Our biggest data and AI event of the year.

Don’t miss the livestream kicking off May 7. It’s free. It’s easy. And it’s the best seat in the house.

Join us virtually with our complimentary SAS Innovate Digital Pass. Watch live or on-demand in multiple languages, with translations available to help you get the most out of every session.

 

Register now!

How to Concatenate Values

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.

SAS Training: Just a Click Away

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

Browse our catalog!

Discussion stats
  • 4 replies
  • 1575 views
  • 0 likes
  • 3 in conversation