Presentation is loading. Please wait.

Presentation is loading. Please wait.

Markov Chain Monte Carlo

Similar presentations


Presentation on theme: "Markov Chain Monte Carlo"— Presentation transcript:

1 Markov Chain Monte Carlo
10701 Recitation Pengtao Xie 1/17/2019

2 Outline Sampling Methods Rejection Sampling Importance Sampling
MCMC Sampling 1/17/2019

3 Outline Sampling Methods Rejection Sampling Importance Sampling
MCMC Sampling 1/17/2019

4 How to represent a distribution
Closed form representation Gaussian distribution, Dirichlet distribution, Multinomial distribution Sample based representation Draw samples from the distribution and use samples to compute expectation, variance, etc 1/17/2019

5 Outline Sampling Methods Rejection Sampling Importance Sampling
MCMC Sampling 1/17/2019

6 May reject a lot of samples
1/17/2019

7 Outline Sampling Methods Rejection Sampling Importance Sampling
MCMC Sampling 1/17/2019

8 Importance sampling Drawback: hard to find a Q which matches well with P, may give little importance to most samples 1/17/2019

9 Outline Sampling Methods Rejection Sampling Importance Sampling
MCMC Sampling 1/17/2019

10 Markov Chain Monte Carlo Sampling
Motivation In rejection sampling and importance sampling, Q is fixed. May reject or give little importance to most samples Idea Use an adaptive Q Methods Metropolis-Hastings Gibbs sampling 1/17/2019

11 1/17/2019

12 1/17/2019

13 1/17/2019

14 1/17/2019

15 1/17/2019

16 1/17/2019

17 1/17/2019

18 1/17/2019

19 1/17/2019

20 1/17/2019

21 1/17/2019

22 1/17/2019

23 1/17/2019

24 Is distribution Q adaptive?
Summary Is distribution Q adaptive? NO YES Is accept rate 1? Is accept rate 1? NO YES NO YES Rejection Sampling Importance Sampling MH Gibbs Sampling 1/17/2019

25 References Slides courtesy MCMC theory
Professor Eric Xing, Graphical Models MCMC theory Slides 15-21 1/17/2019


Download ppt "Markov Chain Monte Carlo"

Similar presentations


Ads by Google