FOCUS AREAS

SAS/QC Software

Special Functions

SAS/QC software includes several specialized DATA step functions and CALL subroutines for computations that are related to control chart analysis, Bayes analysis of screening design, and sampling plan evaluation.

 

Functions for Control Chart Analysis

Function Purpose
C4 Expected value of the standard deviation of n independent normal random variables
CUSUMARL Average run length for a cumulative sum control chart scheme
D2 Expected value of the sample range
D3 Standard deviation of the range of n independent normal random variables
EWMAARL Average run length for an exponentially weighted moving average
PROBMED Cumulative probabilities for the sample median
STDMED Standard deviation of a sample median

 

CALL Subroutine for Bayes Analysis of Screening Designs

CALL Subroutine Purpose
BAYESACT Posterior probabilities that observations are contaminated with a larger variance

 

Functions for Sampling Plan Evaluation

Function Purpose
AOQ2 Average outgoing quality for double-sampling plan
ASN2 Average sample number for double-sampling plan
ATI2 Average total inspection for double-sampling plan
PROBACC2 Acceptance probability for double-sampling plan
PROBBNML Probability that an observation from a binomial(n,p) distribution is less than or equal to m
PROBHYPR Probability that an observation from a hypergeometric distribution is less than or equal to x