Why Metropolis–Hastings Works

(백업본)

Example: Rosenbrock density

131 μs
13.0 s
f (generic function with 1 method)
140 ms
5.8 s
q
DiagNormal(
dim: 2
μ: [0.0, 0.0]
Σ: [0.1 0.0; 0.0 0.1]
)
151 ms
111 ms
3.7 μs
1.1 s

(x,y)=argmaxfmaxx,yfmax(x=1,y=1)=1

참고 : Wolframalpha Solution

3.7 μs
80.8 ms
58.1 ms