The PARETO Procedure

PROC PARETO Statement

  • PROC PARETO <options>;

The PROC PARETO statement invokes the PARETO procedure. Table 15.2 summarizes the options available in the PROC PARETO statement.

Table 15.2: PROC PARETO Statement Options

Option

Description

General Option

DATA=

Specifies the input SAS data set

Traditional Graphics Options

ANNOTATE=

Specifies the annotation data set for the frequency axis

ANNOTATE2=

Specifies the annotation data set for the cumulative percentage axis

GOUT=

Specifies the graphics catalog for saving traditional graphics output

Legacy Line Printer Chart Options

FORMCHAR=

Specifies the formatting characters that are used to construct line printer charts

LINEPRINTER

Creates line printer charts


You can specify the following options:

ANNOTATE=SAS-data-set
ANNO=SAS-data-set

specifies an input data set that contains annotation variables as described in SAS/GRAPH: Reference. You can use SAS-data-set to customize traditional graphics charts with features such as labels that explain critical categories. The ANNOTATE= data set is associated with the frequency axis. If the annotation is based on data coordinates, you must use the same units as the frequency axis uses. Features provided in this data set are added to every chart that PROC PARETO produces in its current run. This option has no effect when ODS Graphics is enabled.

ANNOTATE2=SAS-data-set
ANNO2=SAS-data-set

specifies an input data set that contains annotation variables as described in SAS/GRAPH: Reference. You can use SAS-data-set to customize traditional graphics charts with features such as labels that explain critical categories. The ANNOTATE2= data set is associated with the cumulative percentage axis. If the annotation is based on data coordinates, you must use the same units as the cumulative percentage axis uses. Features provided in this data set are added to every chart that PROC PARETO produces in its current run. This option has no effect when ODS Graphics is enabled.

DATA=SAS-data-set

specifies an input data set that contains the process variables and related variables. If you do not specify a DATA= data set, PROC PARETO uses the most recently created data set.

FORMCHAR='string'

specifies a list of corner characters and other special characters that enhance the appearance of legacy line printer charts.

If your device supports the ASCII symbol set (1 or 2), use the following list:

formchar = 'B3,C4,DA,C2,BF,C3,C5,B4,C0,C1,D9'X

The FORMCHAR= option overrides (but does not alter) the FORMCHAR= option that is specified in an OPTIONS statement such as in the following statement:

options formchar = 'B3,C4,DA,C2,BF,C3,C5,B4,C0,C1,D9'X;

You can place the OPTIONS statement at the top of your SAS program or in an AUTOEXEC.SAS file. The FORMCHAR= has no effect unless you specify LINEPRINTER option.

GOUT=graphics-catalog

specifies the graphics catalog in which to save traditional graphics output. This option has no effect when ODS Graphics is enabled.

LINEPRINTER

requests that legacy line printer charts be produced. The HBAR statement does not produce line printer output, so you cannot use an HBAR statement when you specify the LINEPRINTER option.