Previous Page | Next Page

Functions

ATI2 Function

computes the average total inspection for a double-sampling plan.

Syntax

ATI2()

where

is the lot size, where .

is the acceptance number for the first sample, where .

is the rejection number for the first sample, where .

is the acceptance number for the second sample, where .

is the size of the first sample, where and .

is the size of the second sample, where and .

is the proportion of nonconforming items produced by the process, where .

Description

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

     

where

     
     
     
     

and

     
     
     
     
     
     

Examples

The following statements result in a value of 110.35046381:

data;
   ati=ati2(120,0,2,1,13,13,0.18);
   put ati;
run;

Previous Page | Next Page | Top of Page