| Features: |
|
| Other features: |
AXIS statement |
| Data set: | SASHELP.FAILURE |
| Sample library member: | GBLWTSTA |
goptions reset=all border;
data myfail;
set sashelp.failure;
label Cause='Defect';
select (Cause) ;
when ("Contamination") Cost=3.5;
when ("Metallization") Cost=10;
when ("Oxide") Cost=10.5;
when ("Corrosion") Cost=4.5;
when ("Doping") Cost=3.6;
when ("Silicon") Cost=5.4;
otherwise Cost=1.0;
end;
run;
title1 "The Cost of Defects";
axis1 label=("Defect Count");
axis2 label=("Total Cost");
proc gbarline data=myfail; bar Cause / sumvar=Count axis=axis1; plot / sumvar=Count freq=cost axis=axis2; run; quit;
data myfail;
set sashelp.failure;
label Cause='Defect';
select (Cause) ;
when ("Contamination") Cost=3.5;
when ("Metallization") Cost=10;
when ("Oxide") Cost=10.5;
when ("Corrosion") Cost=4.5;
when ("Doping") Cost=3.6;
when ("Silicon") Cost=5.4;
otherwise Cost=1.0;
end;
run;