This is not really about density estimation, but rather to estimate likelihoods of such densities. This is an important difference.