3. Simulation Based Inference#

For most probabilistic models of practical interest, exact inference is intractable, and so we have to resort to some form of approximation.

The fundamental problem that we therefore wish to address in this chapter involves finding the expectation of some function \(f(z)\) with respect to a probability distribution \(p(z)\).

We will try to understand the Monte-Carlo Methods for Sampling, and understand how they are used in Bayesian Analysis.