|
Chapter Contents |
Previous |
Next |
| INSET Statement |
| See CAPINS3 in the SAS/QC Sample Library |
This example fits a normal curve to the torsion strength data used in the "Getting Started" section. 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';
legend2 frame cframe=ligr cborder=black position=center;
proc capability data=wire noprint;
spec lsl=22 llsl=2 clsl=black
usl=38 lusl=20 cusl=black;
histogram strength / normal(color=salmon l=2 w=2)
nocurvelegend
cframe = ligr
legend = legend2
cfill = bigb;
inset normal(mu sigma ad adpval) / cfill = ywh
format = 7.2;
run;
The resulting histogram is displayed in
Output 5.1.1.
The NOCURVELEGEND
option in the HISTOGRAM statement
suppresses the default legend for curve parameters.
Output 5.1.1: Inset Table with Normal Curve Information
|
|
Chapter Contents |
Previous |
Next |
Top |
Copyright © 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.