Nonlinear wavelet density estimation for biased data in Sobolev spaces