We address the problem of estimating the ratio qp where p is a density function and q is another density, or, more generally an arbitrary function. Knowing or approximating this ratio is needed in var