|
Chapter Contents |
Previous |
Next |
| PROC PARETO Statement |
The PROC PARETO statement starts the PARETO procedure, and it optionally identifies various data sets and requests line printer charts.
To create a Pareto chart, you specify a chart statement (VBAR or HBAR) after the PROC PARETO statement. The chart statement specifies the type of Pareto chart you want to create and the variables in the input data set that you want to analyze. A VBAR statement produces a chart with vertical bars; an HBAR statement produces a chart with horizontal bars. For example, the following statements request a horizontal Pareto chart with blue bars on a green background:
proc pareto data=failures;
hbar reason1 / cbars = blue
cframe = green;
run;
The DATA= option specifies the input data set (FAILURES) containing
the variable (REASON1) to be analyzed.
A Pareto chart has three axes:
On a horizontal bar chart the category axis is displayed vertically on the left side of the chart. The frequency axis (primary horizontal axis) is displayed at the top of the chart. The cumulative percent axis (secondary horizontal axis) is at the bottom.
|
Chapter Contents |
Previous |
Next |
Top |
Copyright © 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.