Estimating distribution functions from partially observed samples