applications of sampling in statistics