Stat 451 Lecture Notes 0712 Markov Chain Monte Carlo
Ryan Martin UIC www.math.uic.edu/~rgmartin
1Based on Chapters 8–9 in Givens & Hoeting, Chapters 25–27 in Lange 2Updated: April 4, 2016 1 / 42
Markov Chain Monte Carlo Ryan Martin UIC - - PowerPoint PPT Presentation
Stat 451 Lecture Notes 07 12 Markov Chain Monte Carlo Ryan Martin UIC www.math.uic.edu/~rgmartin 1 Based on Chapters 89 in Givens & Hoeting, Chapters 2527 in Lange 2 Updated: April 4, 2016 1 / 42 Outline 1 Introduction 2 Crash
1Based on Chapters 8–9 in Givens & Hoeting, Chapters 25–27 in Lange 2Updated: April 4, 2016 1 / 42
2 / 42
3 / 42
3MCMC is an active area of research; despite the many developments in
4 / 42
5 / 42
4Assume the Markov chain is homogeneous, so that the transition
6 / 42
iid
7 / 42
5Not mathematically precise! 8 / 42
6Again, not mathematically precise! 9 / 42
10 / 42
11 / 42
12 / 42
t ∼ q(x | Xt−1).
t )
t )
t | Xt−1)
t with probability R; otherwise, Xt = Xt−1.
13 / 42
t does not depend on Xt−1.
14 / 42
7Again, not mathematically precise! 15 / 42
16 / 42
θ Density −0.5 0.0 0.5 1.0 0.0 0.5 1.0 1.5 2.0 2000 4000 6000 8000 10000 −0.5 0.0 0.5 1.0 Iteration θ
17 / 42
18 / 42
α Density 1 2 3 4 0.0 0.2 0.4 0.6 0.8
19 / 42
20 / 42
21 / 42
p(65) Density 0.2 0.4 0.6 0.8 0.0 0.5 1.0 1.5 2.0 2.5 3.0 p(31) Density 0.96 0.97 0.98 0.99 1.00 50 100 150 200
22 / 42
23 / 42
24 / 42
25 / 42
26 / 42
27 / 42
ind
iid
ind
8Easiest argument is based on standard conjugate priors... 28 / 42
29 / 42
j=1(Ci − Ri).
30 / 42
n
i (1 − ωi)Ui−1−Ri
i
n
i (1 − ωi)N−Ci
n
i (1 − ωi)N−Ci .
ind
31 / 42
ind
n
32 / 42
ind
33 / 42
9The only potential difficulty is simulating from a truncated normal when
34 / 42
35 / 42
Ynew Density 10 15 20 25 30 35 0.00 0.05 0.10 0.15 0.20 Post mean Kernel 4 6 8 10 12 14 0.00 0.05 0.10 0.15 0.20 0.25 Number of components Probability
36 / 42
37 / 42
38 / 42
39 / 42
40 / 42
41 / 42
10Could also use accept–reject for this... 42 / 42