Alternative Pareto Charts
/****************************************************************/
/* S A S S A M P L E L I B R A R Y */
/* */
/* NAME: PAREX9 */
/* TITLE: Alternative Pareto Charts */
/* PRODUCT: QC */
/* SYSTEM: ALL */
/* KEYS: Pareto Charts */
/* PROCS: PARETO */
/* DATA: */
/* */
/* SUPPORT: saswgr */
/* REF: PROC PARETO, Example 9 */
/* MISC: */
/* */
/****************************************************************/
data Failure1;
length Cause $ 16;
label Cause = 'Cause of Failure';
input Cause & $;
datalines;
Corrosion
Oxide Defect
Contamination
Oxide Defect
Oxide Defect
Miscellaneous
Oxide Defect
Contamination
Metallization
Oxide Defect
Contamination
Contamination
Oxide Defect
Contamination
Contamination
Contamination
Corrosion
Silicon Defect
Miscellaneous
Contamination
Contamination
Contamination
Miscellaneous
Contamination
Contamination
Doping
Oxide Defect
Oxide Defect
Metallization
Contamination
Contamination
;
proc pareto data=Failure1;
vbar Cause;
vbar Cause / charttype=cumulative;
vbar Cause / charttype=intervals;
run;