1. A semiconductor measurement system structured to determine an optimal number and position of a group of n shots to be measured from a plurality of m shots of a semiconductor wafer, to detect erroneous data in the measurement of an overlay alignment error for each of the n shots, and to restore the erroneous data with estimated good data using a regression analysis.