Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

メトロポリス・ヘイスティング(MH)法

Metropolis–Hastings(MH)は、比較的単純な MCMC(Markov Chain Monte Carlo) アルゴリズム。

基本アイデア

  • 現在の状態 θ\theta から 提案分布(proposal) q(θ′∣θ)q(\theta' \mid \theta) により候補 θ′\theta' を生成

  • θ′\theta' を 確率的に受理 or 棄却

  • この操作を繰り返すことで、極限的に p(θ∣y)p(\theta \mid y) に従うマルコフ連鎖を得る

acceptance rate = 0.279
posterior mean  = 1.624
posterior sd    = 0.140
<Figure size 1000x600 with 2 Axes>