Correct Implementation of Importance Sampling
In this lesson, we will correct our implementation of Importance Sampling by removing the effect of the constant factor error.
Revisiting Our Previous Example
Let’s revisit our example one more time.
Suppose we have our nominal distribution p
that possibly has “black swans” and our helper distribution q
which has the same support, but no black swans.
We wish to compute the expected ...