Sampling and measurement error, part 1: sampling errors