powered by
This function calulates the maximum allowable proprtion non-conforming with sigma unknown or known using the standardized distribution.
MPn(k,n,stype)
k is the acceptance constant for the variables sampling plan.
stype is 'known' or 'unknown' depending on whether the standard deviation is known. The default is 'unknown'.
n is number of items in the sample required by the variables sampling plan.
returns a single number (the maximum allowable proportion nonconforming)
Lawson, J. "An Introduction to Acceptance Sampling and SPC with R" pp 45=48.
# NOT RUN { MPn(k=1.6094,n=10,stype="known") MPn(k=1.905285,n=42,stype="unknown") # }
Run the code above in your browser using DataLab