Importance Sampling
Last updated
Last updated
Let's say we have two distribution ​ and ​Now the problem is let's say you want to estimate the expectation of ​but you can't sample from it, hence you won't be able to use sample mean to estimate the expectation. So what we do here is, we use samples from ​to estimate the expectation of ​.
So we know we can estimate the expectation of ​ using sample mean by:
​Now to estimate we go trick