|
Chapter Contents |
Previous |
Next |
| Functions |
ATI2(N,a1,r1,a2,n1,n2,p)
where
| N | is the lot size, where |
| a1 | is the acceptance number for the first sample, where
|
| r1 | is the rejection number for the first sample, where r1>a1+1. |
| a2 | is the acceptance number for the second sample, where
|
| n1 | is the size of the first sample, where |
| n2 | is the size of the second sample, where |
| p | is the proportion of nonconforming items produced by the process, where 0<p<1. |
The ATI2 function returns the average total inspection for a Type B double-sampling plan. For details on Type B double-sampling plans, see "Types of Sampling Plans".
The average total inspection is


The following statements result in a value of 110.35046381:
data;
ati=ati2(120,0,2,1,13,13,0.18);
put ati;
run;
|
Chapter Contents |
Previous |
Next |
Top |
Copyright © 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.