Design and Forecasting of Sampling Plans for Variable Inspection