Help using Base SAS procedures

SAS Procedure that only outputs a Probability Plot and Test for Normality

Accepted Solution Solved
Reply
Contributor
Posts: 45
Accepted Solution

SAS Procedure that only outputs a Probability Plot and Test for Normality

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


Accepted Solutions
Solution
‎06-29-2016 02:48 PM
Super User
Posts: 19,770

Re: SAS Procedure that only outputs a Probability Plot and Test for Normality

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


All Replies
Solution
‎06-29-2016 02:48 PM
Super User
Posts: 19,770

Re: SAS Procedure that only outputs a Probability Plot and Test for Normality

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

Contributor
Posts: 45

Re: SAS Procedure that only outputs a Probability Plot and Test for Normality

[ Edited ]

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.

Respected Advisor
Posts: 4,919

Re: SAS Procedure that only outputs a Probability Plot and Test for Normality

Before calling proc univariate:

 

ODS SELECT NONE;

ODS SELECT ProbPlot;

PG
☑ This topic is solved.

Need further help from the community? Please ask a new question.

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