The following statements are available in the PARETO procedure:
PROC PARETO
<options> ;
BY
variables ;
HBAR
(variable-list )< / options> ;
VBAR
(variable-list )< / options> ;
INSET
keyword-list </ options> ;
You must specify the PROC PARETO statement and at least one HBAR or VBAR chart statement. A chart statement specifies the process variables that you want to analyze and produces a Pareto chart for each. You can specify any number of chart statements, and all other statements are optional.
The following statements request a vertical Pareto chart for the process variable Reason
from the data set Failures
. When the process variable-list contains only one variable, you do not need to enclose it in parentheses.
proc pareto data=Failures; vbar Reason; run;
The following sections describe the PROC PARETO statement and then describe the other statements in alphabetical order.