Chapter Contents
Chapter Contents
Previous
Previous
Next
Next
Introduction

Learning to Use the SHEWHART Procedure

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 \bar{X}and R charts with 3\sigma 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 \bar{X} 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
BOXCHARTbox chart with optional trend chart
CCHARTc chart
IRCHARTindividual and moving range charts
MCHARTmedian chart with optional trend chart
MRCHARTmedian and R charts
NPCHARTnp chart
PCHARTp chart
RCHARTR chart
SCHARTs chart
UCHARTu chart
XCHART\bar{X} chart with optional trend chart
XRCHART\bar{X} and R charts
XSCHART\bar{X} and s charts

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
Chapter Contents
Previous
Previous
Next
Next
Top
Top

Copyright © 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.