PCHART Statement: SHEWHART Procedure

Axis Labels

You can specify axis labels by assigning labels to particular variables in the input data set, as summarized in the following table:

Axis

Input Data Set

Variable

Horizontal

all

subgroup-variable

Vertical

DATA=

process

Vertical

HISTORY=

subgroup proportion nonconforming variable

Vertical

TABLE=

_SUBP_

For example, the following sets of statements specify the label Proportion Nonconforming for the vertical axis of the p chart:

proc shewhart data=Circuits;
   pchart Fail*Batch / subgroupn=500;
   label Fail = 'Proportion Nonconforming';
run;

proc shewhart history=Cirhist;
   pchart Fail*Batch ;
   label FailP = 'Proportion Nonconforming';
run;

proc shewhart table=Cirtable;
   pchart Fail*Batch ;
   label _SUBP_ = 'Proportion Nonconforming';
run;

In this example, the label assignments are in effect only for the duration of the procedure step, and they temporarily override any permanent labels associated with the variables.