Note: See Individual Measurement and Moving Range Charts 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Ā 17.27. 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: IRCHART Statement.
FigureĀ 17.28 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.