Customizing Inset Labels and Formatting Values
/****************************************************************/
/* S A S S A M P L E L I B R A R Y */
/* */
/* NAME: PAREX10 */
/* TITLE: Customizing Inset Labels and Formatting Values */
/* PRODUCT: QC */
/* SYSTEM: ALL */
/* KEYS: Pareto Charts */
/* PROCS: PARETO */
/* DATA: */
/* */
/* SUPPORT: saswgr */
/* REF: PROC PARETO, Example 10 */
/* MISC: */
/* */
/****************************************************************/
data Failure3;
length Cause $ 16 Stage $ 16;
label Cause = 'Cause of Failure';
input Stage & $ Cause & $ Counts;
datalines;
Before Cleaning Contamination 14
Before Cleaning Corrosion 2
Before Cleaning Doping 1
Before Cleaning Metallization 2
Before Cleaning Miscellaneous 3
Before Cleaning Oxide Defect 8
Before Cleaning Silicon Defect 1
After Cleaning Doping 0
After Cleaning Corrosion 2
After Cleaning Metallization 4
After Cleaning Miscellaneous 2
After Cleaning Oxide Defect 1
After Cleaning Contamination 12
After Cleaning Silicon Defect 2
;
proc pareto data=Failure3;
vbar Cause /
class = Stage
freq = Counts
maxncat = 5
classkey = 'Before Cleaning';
inset n ='Observations Shown' (4.1)
nexcl='Observations Excluded' (3.1);
run;