Creating an acceptance sampling plan for variable data