簡単なpymc3のプログラム
- pymc3でサンプリングされた結果から分布関数を作る方法。
- ポアソン分布に従うという前提で「事象が5年で3回起こった」という情報から「1年で何回起こる?」という確率分布の推定を求める方法。
以上の jupyter notebook ファイルをGitHubで公開しました。
https://github.com/koki-ogura/pymc3_sample
Gistでも公開しました。
How to create pdf and pmf function from pymc3 sampling result.
https://gist.github.com/koki-ogura/45ad640c0a4fcfef6977bb40f6906a38
From the information that it occurs three times in five years, we estimate how many times a year will occur according to the Poisson distribution.
https://gist.github.com/koki-ogura/22c4045541eb209fb3233e903f86527f