COMP0187 Lecture 9

Creator
Creator
Seonglae ChoSeonglae Cho
Created
Created
2024 Dec 4 23:59
Editor
Edited
Edited
2025 Apr 29 1:50
Refs
Refs

Sampling

  • Monte Carlo Method
    • Elementary
    • Elementary Monte Carlo identity

    • Trick
    • The stochasticity trick of Monte Carlo method (
      Importance sampling
      )

      Assume you have a difficult integral to compute
      The Monte Carlo estimator for performs better than sampling from the original distribution when it has lower variance. For comparison, the variance of is , while the variance of is - with lower variance being preferable.
      In short, Monte Carlo methods enable us to estimate any integral by random sampling. In
      Bayesian Statistics
      ,
      Evidence
      is also form of integral so it becomes tractable.

MCMC

importance sampling degrades possibly exponentially badly as the dimension of the latent variables increase, unless we have an insanely good proposal since the
Curse of dimensionality
and usually cover large volumes.
  1. sample a value
  1. if , then move to with certainity
  1. otherwise, move to with probability
 
 
 
 
 
ChatGPT
A conversational AI system that listens, learns, and challenges
ChatGPT
 
 
 

Recommendations