BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
Jolly
Calcite | Level 5

Hello,

I am trying to get a simple probability plot with the test for normalily.  There are many ways I have found to do this in SAS 9.4, however, the issue that I have is that it comes with much more output that I do not need.  I was wondering how one could get just a probability plot with a p-value for a test of normality (such as Shapiro-Wilk or Anderson-Darling) in the plot or in a seperate table without all of the other tables that a procedure such as proc univariate will give you.

 

Below is an example what I would desire to have:

 

Thank you,

Jeff S. O.

 

normal probability plot

1 ACCEPTED SOLUTION

Accepted Solutions
Reeza
Super User

Proc Univariate with PPLOT. 

 

You can control what is output with ODS SELECT <graphname>;

 

Find the graph name by using ODS TRACE or checking the documentation. 

 

http://blogs.sas.com/content/iml/2015/09/08/ods-table-names.html

View solution in original post

3 REPLIES 3
Reeza
Super User

Proc Univariate with PPLOT. 

 

You can control what is output with ODS SELECT <graphname>;

 

Find the graph name by using ODS TRACE or checking the documentation. 

 

http://blogs.sas.com/content/iml/2015/09/08/ods-table-names.html

Jolly
Calcite | Level 5

Wish I had ran across this statement long ago!  Just saw the ODS trace statement to determine the names of the tables from the link you posted.  This is great!   Thank you.

PGStats
Opal | Level 21

Before calling proc univariate:

 

ODS SELECT NONE;

ODS SELECT ProbPlot;

PG

sas-innovate-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

Register now!

What is Bayesian Analysis?

Learn the difference between classical and Bayesian statistical approaches and see a few PROC examples to perform Bayesian analysis in this video.

Find more tutorials on the SAS Users YouTube channel.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 3 replies
  • 1103 views
  • 0 likes
  • 3 in conversation