Defective products estimation