The SHEWHART Procedure |
[See SHWIR1 in the SAS/QC Sample Library]In this example, the IRCHART statement is used to create an output data set containing individual measurements and moving ranges. The following statements read the diameter measurements from the data set Jets (see Creating Individual Measurements and Moving Range Charts) and create a data set named Jetinfo:
proc shewhart data=Jets; irchart Diam*Engine / outhistory = Jetinfo nochart; run;
The OUTHISTORY= option names the output data set, and the NOCHART option suppresses the display of the charts, which would be identical to those in Figure 13.10.4. Options such as OUTHISTORY= and NOCHART are specified after the slash (/) in the IRCHART statement. A complete list of options is presented in the section Syntax.
Figure 13.10.5 contains a partial listing of Jetinfo.
The data set Jetinfo contains one observation for each engine, and it includes three variables.
Engine contains the subgroup index.
Diam contains the individual measurements.
DiamR contains the moving ranges.
Note that the variable containing the moving ranges is named by adding the suffix character R to the process Diam specified in the IRCHART statement.
For more information, see OUTHISTORY= Data Set.
Copyright © SAS Institute, Inc. All Rights Reserved.