Skip to content

農研機構統計研修「ベイズ統計モデリングとMCMC」

License

Notifications You must be signed in to change notification settings

ito4303/naro_toukei

Repository files navigation

ベイズ統計モデリングとMCMC

農研機構短期集合研修(数理統計)「ベイズ統計モデリングとMCMC」で使用するファイルです。

テキストと投影資料

例題1: ポアソン回帰

example1.R
Rスクリプト
example1_model.txt
BUGSモデル

例題2: ロジスティック回帰

example2.R
Rスクリプト(JAGS用)
example2_model.txt
BUGSモデル
example2_Stan.R
Rスクリプト(Stan用)
example2.stan
Stanモデル
example2_nimble.R
Rスクリプト(NIMBLE用)

例題3: 線形混合モデル

example3.csv
データ
example3.R
Rスクリプト(JAGS用)
example3_model.txt
BUGSモデル
example3-1_model.txt
BUGSモデル (nested indexing)
example3_Stan.R
Rスクリプト(Stan用)
example3.stan
Stanモデル

例題4: ゼロ過剰ポアソンモデル

example4.csv
データ
example4.R
Rスクリプト(JAGS用)
example4_model.txt
BUGSモデル
example4_Stan.R
Rスクリプト(Stan用)
example4.stan
Stanモデル

テキスト

mcmc_text/*
テキストのTeXソースファイルおよび画像データ