<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>ryamada22</author_name>
  <author_url>https://blog.hatena.ne.jp/ryamada22/</author_url>
  <blog_title>ryamadaの遺伝学・遺伝統計学メモ</blog_title>
  <blog_url>https://ryamada22.hatenablog.jp/</blog_url>
  <categories>
    <anon>Haskell</anon>
    <anon>メトロポリスヘイスティング</anon>
  </categories>
  <description>こちらには、前の記事で勉強したDistのことが書いてあるのだが、それを使ってメトロポリスヘイスティングを実装している。 以下の通り このHaskellコードを読んでいくことにする メトロポリスヘイスティングでは(関数 mh として作成されている) 事象の確率は計算できる確率分布があるときに、モンテカルロで事象を発生させ、その採否を確率的に決めることで、分布からの事象の集合を発生させる方法 以下では、そのような確率を計算できる分布を第三引数Dist aで与えている 第１、第２引数は、初期値依存性が高いと想定される初期の発生事象として捨てる回数(burn-in回数)と、その後の、蓄積して分布乱数と…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fryamada22.hatenablog.jp%2Fentry%2F20170701%2F1498889475&quot; title=&quot;Haskellでメトロポリスヘイスティング - ryamadaの遺伝学・遺伝統計学メモ&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2017-07-01 15:11:15</published>
  <title>Haskellでメトロポリスヘイスティング</title>
  <type>rich</type>
  <url>https://ryamada22.hatenablog.jp/entry/20170701/1498889475</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
