Chapter Contents |
Previous |
Next |
IRCHART Statement |
See SHWIR1 in the SAS/QC Sample Library |
In some applications,
both individual measurements and
moving ranges may be provided. You can read this type of data
set by specifying it with the HISTORY= option in the
PROC SHEWHART statement.
For example,
the following statements read
the data set JETINFO (see
Figure 34.3) and create the
charts shown in Figure 34.4:
title 'Individual Measurements and Moving Range Charts'; proc shewhart history=jetinfo lineprinter; irchart diam*engine='*'; run;
Note that the charts are produced on a line printer since the LINEPRINTER option is specified in the PROC SHEWHART statement. * The asterisk (*) specified in single quotes after the subgroup-variable indicates the character used to plot points. This character must follow an equal sign.
A HISTORY= data set used with the IRCHART
statement must contain the following variables:
Furthermore, the name of the moving range variable must begin with the process name specified in the IRCHART statement and end with the special suffix character R. If the name does not follow this convention, you can use the RENAME option in the PROC SHEWHART statement to rename this variable for the duration of the procedure step (see "Creating Charts for Means and Ranges from Summary Data" ). For more information, see "HISTORY= Data Set" .
Chapter Contents |
Previous |
Next |
Top |
Copyright © 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.