Markov Chain Monte Carlo:: A Workhorse For Modern Scientific Computation
Markov Chain Monte Carlo:: A Workhorse For Modern Scientific Computation
MONTE CARLO:
A Workhorse for Modern
Scientific Computation
…
March 12, 2024 3
Monte Carlo 之应用
A Chinese version of the previous slide
物理 社会 经济
化学 教育 金融
天文 心理 管理
生物 人文 政策
环境 语言 军事
工程 历史 政府
交通 医学 商务
…
March 12, 2024 4
Monte Carlo Integration
Suppose we want to compute
density
=1
f(x) / p(x).
-5 0 5
As ! 1, the simulated x
density
more concentrated around
the maximizer of p(x) -5 0 5
8.0 e-09
=20 density
0.0 e+00
-5 0 5
such that about 25% of them are 0’s and about 75%of them are 1’s,
when n, the simulation size is large.
Continuous variable X,
described by a density
function f(x)
Complex:
the form of f(x)
the dimension of x
N(,2)
Normal Distribution
“Bell Curve”
Variance Estimator:
Interval Estimator:
0.6
So once we have simulations:
0.5
{(x(t), y(t): t= 1,2,…,N)},
0.4
0.3
{x(t): t= 1,2,…,N)}
0.2
0.1
0.0
Accept
Step 3: set
reject
Assume , then
We choose q(z|z2)=q(z)=(x-4)(y-4)
Step 2: Calculate
We would like to know all (major) modes, as well as their surrounding mass.
Not just the global mode
We need “automatic, Hill-climbing” algorithms.