The CAPABILITY Procedure |
[See CAPINS3 in the SAS/QC Sample Library]This example fits a normal curve to the torsion strength data used in the section Getting Started. The following statements fit a normal curve and request an inset summarizing the fitted curve with the mean, the standard deviation, and the Anderson-Darling goodness-of-fit test:
title 'Torsion Strength of Copper Wire'; proc capability data=Wire noprint; spec lsl=22 usl=38; histogram Strength / normal(color=black noprint l=34) nocurvelegend; inset normal(mu sigma ad adpval) / cfill = ywh format = 7.2; run;
The resulting histogram is displayed in Output 5.15.1. The NOCURVELEGEND option in the HISTOGRAM statement suppresses the default legend for curve parameters.
Copyright © SAS Institute, Inc. All Rights Reserved.