On estimaton of some density functionals under regression and one sample models