Solved
Contributor
Posts: 45

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

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

## 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

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

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

Posts: 5,529

## 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 and locked.