# How Defect Rate Changes After Inspection

A

#### ali2233

Notation :
N lot size
M defects in lot
n sample size
m defects in lot
Pa probability of acceptance
C0 per unit inspection cost
C1 recall cost if items slips through inspection

I am working on acceptance sampling. I was wondering how defect rate changes after inspection. for example , i have lot size N , with M defects. so if i don't do inspection , I will have recall cost give as , total cost = N*M*C1, where C1 is recall cost. M have Binomial distribution.

But if i do inspection , using sampling method , i have inspection cost as well a portion of recall cost , as I use Probability of acceptance.

what defect rate I should use after inspection , let say i took a sample n and got m defects in the sample ,, so how M , m are related,

Is it alway N/M = n/m or what ?

if yes there is no point of inspection.

if I set sampling plan with acceptance number based on M , using Hyper geometric formula i calculate Pa.

so let say now my cost is cost = n*cC0 + (N-n)*M*Pa forget bout reject for now.

what different does it make if I still use M even after inspection.
so my point is how M and m are related , what happens to defect rate after inspection.

any help in this regard much highly be appropriated.

#### Stijloor

Super Moderator
A Quick Bump!

Can someone help?

Thank you very much!!

#### Steve Prevette

##### Deming Disciple
Super Moderator
Notation :
N lot size
M FRACTION defects in lot
n sample size
m FRACTION defects in SAMPLE?
Pa probability of acceptance
C0 per unit inspection cost
C1 recall cost if items slips through inspection

I am working on acceptance sampling. I was wondering how defect rate changes after inspection. for example , i have lot size N , with M fraction defects. so if i don't do inspection , I will have recall cost give as , total cost = N*M*C1, where C1 is recall cost. N*M have Binomial distribution.

You ONLY "know" the expected recall cost if you "know" M. If you don't do any sampling, you don't know what M is. So now you have an unpredicatable cost, except perhaps from past history of recall costs. Another probability in here is - what is the chance the customer will detect the defect?

what defect rate I should use after inspection , let say i took a sample n and got m defects in the sample ,, so how M , m are related,

Is it alway N/M = n/m or what ?

Generally, you will be using m as the estimator for M. You will NEVER know the "true value" of M, even with 100% inspection. Hopefully you are plotting sequential m's on a control chart and understand how good of an estimator it is. M is unchanged by the inspection itself. For your estimate of OUTGOING QUALITY, you could revise the M subtracting off the failures detected and removed but its impact would usually be pretty minimal and you still have to account for probabilities of failures to detect and false alarms.

NOTE: It does look like in your original post that you are cross-mixing M as the number of defective versus M as the fraction defective.

#### Bev D

##### Heretical Statistician
Super Moderator
Steve is correct about the 'other' factors that effect the true cost..let me add to his excellent comments:

you can calculate a theoretical Average Outgoing Quality (AOQ) level that will give you the escapign defect rate. this assumes a lot:
1. The defect rate you use in the calcualtion is a close estimation of the true defct rate - from historical complaints or inspection findings.
You 100% inspect annd remove all defects from any lot that fails the inspection.
2. The actual 'miss' and detect rate for defects in your inspection lots is based solely on the 'AQL' probability levels; in other words that your ability to detect a defect when it is present in your sample is perfect.
3. The return - or warranty - rate is based on the Customer actually detecting and complaining about every defect that is present.
Given that none of these holds in real life, you will none the less get an idea of the defect/warranty rate with and without inspection. Be cautious that the real rate will deviate from the estimate.

Don't confuse the precision of the mathematical calculation with the accuracy of the prediction of the actual rates. It will probably be in the ballpark... Unfortunately, much of statistics isnt' about the formula it is about the complexities of the other factors...

Also understand that the financial cost of a failure in the field - while 10-100 times greater than the same defect detected in house - it is still insignificant compared to the effect on Customer loyalty and trust. ('Google' the sad story of the Intel Pentium...)

You can 'google' Average Outgoing Quality for further resources and the formula. to get you started you may want to start here.

Determining population defect rate from sample defect rate Inspection, Prints (Drawings), Testing, Sampling and Related Topics 4
PPM Defect Rate as a Performance Metric - Are there Flaws? Quality Manager and Management Related Issues 9
A Defect Rate for asking for an RMA - Company wants an RMA for every defect found Supplier Quality Assurance and other Supplier Issues 10
Converting Defect Rate To Capability index Capability, Accuracy and Stability - Processes, Machines, etc. 11
D DPPM - Calculating the Defect Rate of a Software Test Statistical Analysis Tools, Techniques and SPC 9
Six sigma and defect rate (6 sigma = 3.4 PPM) Six Sigma 6
J Calculating Defect Rate or Percent of Rejection Manufacturing and Related Processes 4
Sample Size for 95% CI - Lot size is 25,000 - 2% Defect Rate Process Inspection, Prints (Drawings), Testing, Sampling and Related Topics 32
R What's the difference between using PPM or Defect Rate in a process? Quality Tools, Improvement and Analysis 1
Automotive PPM Requirements - Our customer is trying to demand a 100% 0 defect rate IATF 16949 - Automotive Quality Systems Standard 3
Calculating Defect Rate (PPM) from a Cpk value Capability, Accuracy and Stability - Processes, Machines, etc. 8
Corrective action for a defect from customer's mistaken Nonconformance and Corrective Action 1
Handling in-Process Defect Repairs Nonconformance and Corrective Action 31
Average Industry Defect rates Supplier Quality Assurance and other Supplier Issues 2
"The Problem with Quality Management: Process orientation, controllability and zero-defect processes as modern myths" Book, Video, Blog and Web Site Reviews and Recommendations 2
Old Time Scatter diagrams for defect type and location- software Quality Tools, Improvement and Analysis 7
AQL - How to count samples with defects for each defect class AQL - Acceptable Quality Level 17
Definition Defect Mapping - Here is my definition Definitions, Acronyms, Abbreviations and Interpretations Listed Alphabetically 13
How to write a proper defect description in a NCR Nonconformance and Corrective Action 4
Calculating Defect Rates ISO 9000, ISO 9001, and ISO 9004 Quality Management Systems Standards 4
Software change control process and defect tracking ISO 13485:2016 - Medical Device Quality Management Systems 1
G Defect codes and process codes need to be controlled AS9100, IAQG, NADCAP and Aerospace related Standards and Requirements 4
C Are zero defect sampling plans relevant to AS9120B Distributor AS9100, IAQG, NADCAP and Aerospace related Standards and Requirements 4
Zero Defect Sampling Plan Standards Inspection, Prints (Drawings), Testing, Sampling and Related Topics 4
Customer specified Item Defect Corrective Action Responsibility Customer Complaints 18
R Defect Display Area for Employee Shift Change Information Misc. Quality Assurance and Business Systems Related Topics 1
P Evolving Quality Levels - Expectations for Lowered Defect Levels AQL - Acceptable Quality Level 21
T Customer Requirement for Sorting - Visual Defect on Plastic Part IATF 16949 - Automotive Quality Systems Standard 9
Visual Defect during Validation Process Design and Development of Products and Processes 6
J Classifying Defect Reports from Business Partners US Food and Drug Administration (FDA) 4
J Critical Defect Destructive Testing Sampling Inspection, Prints (Drawings), Testing, Sampling and Related Topics 1
N New to ISO 9001 - NCR for every defect? Nonconformance and Corrective Action 5
Renault Painting Defect Acceptance Criteria Manufacturing and Related Processes 4
Probablity of correctly detecting a defect size Gage R&R (GR&R) and MSA (Measurement Systems Analysis) 3
T Metal Stamping Defect--Need Help with Corrective Action Manufacturing and Related Processes 15
Shall we raise SCAR/CAR for every defect as per our current procedure? Nonconformance and Corrective Action 4
M AQL (Acceptable Quality Level) for Mixed Part Defect IATF 16949 - Automotive Quality Systems Standard 1
Are P-charts for a Particular Defect or can Different Defects be counted in one? Statistical Analysis Tools, Techniques and SPC 2
K Defect Reporting and Tracking Software for a Small Machine Shop Quality Assurance and Compliance Software Tools and Solutions 1
S Standard Machining Defect Codes Nonconformance and Corrective Action 2
K Defect Detection for Fresh Injection Molding Solid Parts Manufacturing and Related Processes 5
R LTPD (Lot Tolerance Percent Defective) Sampling Plan with %Defect Inspection, Prints (Drawings), Testing, Sampling and Related Topics 5
1 Defect Tracking Excel Spreadsheet Template Excel .xls Spreadsheet Templates and Tools 2
S Measurement Error When Measuring a Defect - Scratches Gage R&R (GR&R) and MSA (Measurement Systems Analysis) 14
S What if I find a defect after AQL (Inspection)? Pharmaceuticals AQL - Acceptable Quality Level 13
B Can Minitab 15 Chart Geometric Distributions with Very Low Defect Rates? Using Minitab Software 2
D Herringbone Defect Condition in Rolled Steel Misc. Quality Assurance and Business Systems Related Topics 3
B Minitab Gage R&R using Defect Count per Unit Area Using Minitab Software 1
L Zoned Defect Chart - 9 zones with 12 possible defects Inspection, Prints (Drawings), Testing, Sampling and Related Topics 2
How to understand NOTE 2 in the ISO 9000 definition of defect? ISO 9000, ISO 9001, and ISO 9004 Quality Management Systems Standards 2