A study of bias in sampling