Let us define a random variable $X$ with density function $p(x)$. We wish to calculate $\mathbb{E}[f(X)] = \int f(x)p(x)dx$. We can compute the expectation by Monte Carlo simulations as


$$\mathbb{E}[f(X)] =\frac{1}{N} \sum\_{i=1}^{N} f(x\_i)p(x\_i)$$


where $x\_i$ are sampled from $p(x)$.


Sometimes it is impossible to generate random samples from $p(x)$. In such cases we use importance sampling and estimate 


$$\mathbb{E}[f(X)] =\frac{1}{N} \sum\_{i=1}^{N} \frac{f(x\_i)p(x\_i)}{g(x\_i)}$$


where $x\_i$ are sampled from $g(x)$.


My question is that if we know that $\delta\_1 \le \mathbb{E}[f(X)] \le \delta\_2$, then how do we exploit this information in estimating $\mathbb{E}[f(X)]$ using importance sampling.


I've done a lot of google search looking for importance sampling with prior information etc. However, the closest that I have come to involve evaluating the $\mathbb{E}[f(X)]$ over some subset of the support of the random variable $X$. 


Still it does not help me with utilizing the additional information that I have about $\mathbb{E}[f(X)]$ from the bounds.


I would like to know the following:


**Has such a thing been studied?** 


**If yes, can somebody point me to a useful reference?**



How to perform Importance Sampling with Prior Information
Having explicit bounds on $\mathbb{E}[f(X)]$ does not appear to be useful. The variance can still be arbitrarily large, and the variance governs the rate of convergence for MC sampling. And if the variance is infinite, Monte Carlo estimation does not even converge to the expected value.


If you strengthen your assumptions slightly, you can say something more interesting. First, assume that $\Pr(f(X)<0)=0$. Then we can apply [Markov's inequality](http://en.wikipedia.org/wiki/Markov%27s_inequality) to conclude that for any $a>0$,
$$p(x>\delta\_2 + a)\leq \delta\_2/a$$
We could then (in principle) use this bound to inform our selection of $g$ in order to reduce the variance. However, because the variance could still be infinite, this assumption does not buy us much.


Next, assume that $\mathbb{E}[f(X)^2]\leq \delta\_3$ (so we can bound the standard deviation $\sigma<\delta\_3$). Then we can apply [Chebyshev's inequality](http://en.wikipedia.org/wiki/Chebyshev%27s_inequality) to get, for any $a>0$,
$$p(|x-\delta\_2|>a\delta\_3)\leq 1/a^2$$


Finally, suppose that if $f(x)>0$ then $\delta\_1\leq x\leq \delta\_2$-- then we can apply [Hoeffding's inequality](http://en.wikipedia.org/wiki/Hoeffding%27s_inequality) to get even stronger (exponential) convergence.
$$p(x>\delta\_2 + a)\leq (\delta\_2-\delta\_1)/a$$


