apparent function

Sampling for the Apparent Error Rate