|
Chapter Contents |
Previous |
Next |
| Introduction |
Although the SHEWHART procedure provides a large number of options, you can use the procedure to create a basic Shewhart chart with as few as two SAS statements:
For example, you can use the following statements to create
and R charts with
limits for measurements
read from a SAS data set named DRUMS:
proc shewhart data=drums graphics;
xrchart flwidth*hour;
run;
The keyword XRCHART in the chart statement specifies that
and
R charts are to be created. The following
SAS variables are specified in the
XRCHART statement:
The same form of specification is used with other chart statements to create different types of Shewhart charts. The following table lists the keywords for the 13 chart statements that are available with the SHEWHART procedure:
Table 1: Chart Statements in the SHEWHART Procedure| Keyword | Chart(s) Displayed |
| BOXCHART | box chart with optional trend chart |
| CCHART | c chart |
| IRCHART | individual and moving range charts |
| MCHART | median chart with optional trend chart |
| MRCHART | median and R charts |
| NPCHART | np chart |
| PCHART | p chart |
| RCHART | R chart |
| SCHART | s chart |
| UCHART | u chart |
| XCHART | |
| XRCHART | |
| XSCHART |
If you are using the SHEWHART procedure for the first time, you should
Once you have learned to use a particular chart statement, you will find it straightforward to use the remaining chart statements since their syntax is nearly the same. A separate, self-contained chapter is provided for each chart statement.
|
Chapter Contents |
Previous |
Next |
Top |
Copyright © 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.