Efficient estimation in missing data and survey sampling problems