Stan implementations of models in Doing Bayesian Data Analysis, 2nd Edition
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
DBDA2E-utilities-stan.R Added robust multiple regression Nov 14, 2017
OneOddGroupModelComp.stan Additional updates to follow Stan guidelines Jul 10, 2017
OneOddGroupModelComp2E_Stan.R Additional updates to follow Stan guidelines Jul 10, 2017
README.md Updated increment_log_prob to incrementing target. Jul 2, 2017
Stan-Ybinom-Xnom1fac-Mlogistic-Example.R Initial Upload Jul 2, 2017
Stan-Ybinom-Xnom1fac-Mlogistic.R Update to follow Stan guidelines Jul 10, 2017
Stan-Ybinom-XnomSsubjCcat-MbinomBetaOmegaKappa-Example.R Initial Upload Jul 2, 2017
Stan-Ybinom-XnomSsubjCcat-MbinomBetaOmegaKappa.R Bug Fixes Jul 10, 2017
Stan-Ycount-Xnom2fac-MpoissonExp-Example.R Update to follow Stan guidelines Jul 10, 2017
Stan-Ycount-Xnom2fac-MpoissonExp.R New Models Nov 6, 2017
Stan-Ydich-XmetMulti-Mlogistic-Example.R New Models Nov 6, 2017
Stan-Ydich-XmetMulti-Mlogistic.R New Models Nov 6, 2017
Stan-Ydich-XmetMulti-MlogisticRobust-Example.R New Models Nov 6, 2017
Stan-Ydich-XmetMulti-MlogisticRobust.R New Models Nov 6, 2017
Stan-Ydich-Xnom1subj-MbernBetaModelComp-Example.R Update to follow Stan guidelines Jul 10, 2017
Stan-Ydich-Xnom1subj-MbernBetaModelComp.R Update to follow Stan guidelines Jul 10, 2017
Stan-Ydich-XnomSsubj-MbinomBetaOmegaKappa-Example.R Update to follow Stan guidelines Jul 10, 2017
Stan-Ydich-XnomSsubj-MbinomBetaOmegaKappa-Power.R Initial Upload Jul 2, 2017
Stan-Ydich-XnomSsubj-MbinomBetaOmegaKappa.R Update to follow Stan guidelines Jul 10, 2017
Stan-Ymet-XmetMulti-MrobustShrink-Example.R Added robust multiple regression Nov 14, 2017
Stan-Ymet-XmetMulti-MrobustShrink.R Added robust multiple regression Nov 14, 2017
Stan-Ymet-XmetSsubj-MrobustHier-Example.R Bug Fixes Jul 10, 2017
Stan-Ymet-XmetSsubj-MrobustHier.R Bug Fixes Jul 10, 2017
Stan-Ymet-Xnom1fac-MnormalHom-Example.R Additional updates to follow Stan guidelines Jul 10, 2017
Stan-Ymet-Xnom1fac-MnormalHom.R Additional updates to follow Stan guidelines Jul 10, 2017
Stan-Ymet-Xnom2fac-MnormalHom-Example.R Update to follow Stan guidelines Jul 10, 2017
Stan-Ymet-Xnom2fac-MnormalHom.R Update to follow Stan guidelines Jul 10, 2017
Stan-Ynom-XmetMulti-Msoftmax.R Added softmax regression Dec 28, 2017
Ybinom-Xnom1fac-Mlogistic.stan Update to follow Stan guidelines Jul 10, 2017
Ybinom-XnomSsubjCcat-MbinomBetaOmegaKappa.stan Bug Fixes Jul 10, 2017
Ycount-Xnom2fac-MpoissonExp.stan Update to follow Stan guidelines Jul 10, 2017
Ydich-XmetMulti-Mlogistic.stan New Models Nov 6, 2017
Ydich-XmetMulti-MlogisticRobust.stan New Models Nov 6, 2017
Ydich-Xnom1subj-MbernBetaModelComp.stan Update to follow Stan guidelines Jul 10, 2017
Ydich-XnomSsubj-MbinomBetaOmegaKappa.stan Update to follow Stan guidelines Jul 10, 2017
Ymet-XmetMulti-MrobustShrink.stan Added robust multiple regression Nov 14, 2017
Ymet-XmetSsubj-MrobustHier.stan Bug Fixes Jul 10, 2017
Ymet-Xnom1fac-MnormalHom.stan Additional updates to follow Stan guidelines Jul 10, 2017
Ymet-Xnom2fac-MnormalHom.stan Additional updates to follow Stan guidelines Jul 10, 2017
Ynom-XmetMulti-Msoftmax.stan Added softmax regression Dec 28, 2017

README.md

DBDA2Estan

This is a collection of models from Doing Bayesian Data Analysis, 2nd Edition implemented in Stan. I have attempted to keep the implementation as close as possible to the JAGS versions developed by John Kruschke. In most cases this was a straightforward translation of syntax. Models that relied on discrete parameters were implemented by marginalizing over the discrete parameters and included in the code as a custom probability distribution (see the Stan reference manual for details).

Please feel free to contact me with any questions or comments, either via github or at joseph.houpt@wright.edu