No description, website, or topics provided.
Branch: master
Clone or download
Latest commit fb08ed3 Feb 5, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
02_cache/markdown_github 02 github_document version 0.9.0 Jul 30, 2018
02_files/figure-markdown_github 02 github_document version 0.9.0 Jul 30, 2018
03_files/figure-markdown_github 03 github_document version 0.9.0 Jul 30, 2018
04_cache/markdown_github 04 github_document version 0.9.1--minor prose and code updates Oct 8, 2018
04_files/figure-markdown_github 04 github_document version 0.9.1--minor prose and code updates Oct 8, 2018
05_files/figure-markdown_github 05 github_document version 0.9.0 Jul 31, 2018
06_files/figure-markdown_github 06 github_document version 0.9.2--`hdi_of_icdf()` Oct 8, 2018
07_cache/markdown_github 07 github_document version 0.9.1--mis code/prose updates Oct 8, 2018
07_files/figure-markdown_github 07 github_document version 0.9.1--mis code/prose updates Oct 8, 2018
08_cache/markdown_github 08, version 0.9.3—minor prose/code updates Oct 10, 2018
08_files/figure-markdown_github 08, version 0.9.3—minor prose/code updates Oct 10, 2018
09_cache 09, version—0.9.3—minor updates to prose/code Oct 11, 2018
09_files 09, version—0.9.3—minor updates to prose/code Oct 11, 2018
10_cache/html 10 html_document version 0.2.0--complete rough draft Oct 12, 2018
10_files/figure-html 10 html_document version 0.2.0--complete rough draft Oct 12, 2018
11_files/figure-markdown_github 11 github_document version 0.9.0 Jul 31, 2018
12_cache/markdown_github 12 github_document version 0.9.0 Jul 31, 2018
12_files/figure-markdown_github 12, version 0.9.2—update for bayesplot 1.6.0 and tidybayes 1.0.1 Aug 13, 2018
13_files/figure-markdown_github 13 github_document version 0.1.0--done through 13.2.3 Oct 7, 2018
15_files/figure-markdown_github 15, version 0.9.2—better use of ggridges Nov 28, 2018
16_cache/markdown_github 16, version 0.9.1—fixed the exponential prior on nu and some of the p… Aug 12, 2018
16_files/figure-markdown_github 16, version 0.9.1—fixed the exponential prior on nu and some of the p… Aug 12, 2018
17_cache 17, version 0.9.1—fixed the exponential prior on nu Aug 12, 2018
17_files 17, version 0.9.1—fixed the exponential prior on nu Aug 12, 2018
18_cache 18 github_document version 0.9.1—first full version Nov 25, 2018
18_files 18 github_document version 0.9.1—first full version Nov 25, 2018
19_cache/markdown_github 19 github_document version 0.9.2—set seeds, removed heading #s, clean… Dec 27, 2018
19_files/figure-markdown_github 19 github_document version 0.9.2—set seeds, removed heading #s, clean… Dec 27, 2018
20_cache/markdown_github 20 github_document version 0.9.0 Dec 26, 2018
20_files/figure-markdown_github 20 github_document version 0.9.0 Dec 26, 2018
21_cache/markdown_github 21, version 0.1.0 Feb 5, 2019
21_files/figure-markdown_github 21, version 0.1.0 Feb 5, 2019
data.R added the Kruschke data Jul 30, 2018
.gitignore first commit Jul 30, 2018
01.Rmd 01 github_document version 0.9.1--minor prose updates Oct 8, 2018
01.md 01 github_document version 0.9.1--minor prose updates Oct 8, 2018
02.Rmd 02, version 0.9.2—minor updates to prose and code Oct 8, 2018
02.md 02, version 0.9.2—minor updates to prose and code Oct 8, 2018
03.Rmd 03 github_document version 0.9.0 Jul 30, 2018
03.md 03 github_document version 0.9.0 Jul 30, 2018
04.Rmd 04 github_document version 0.9.1--minor prose and code updates Oct 8, 2018
04.md 04 github_document version 0.9.1--minor prose and code updates Oct 8, 2018
05.Rmd 05 github_document version 0.9.0--minor updates to prose and code Oct 8, 2018
05.md 05 github_document version 0.9.0--minor updates to prose and code Oct 8, 2018
06.Rmd
06.md 06 github_document version 0.9.2--`hdi_of_icdf()` Oct 8, 2018
07.Rmd 07 github_document version 0.9.1--mis code/prose updates Oct 8, 2018
07.md 07 github_document version 0.9.1--mis code/prose updates Oct 8, 2018
08.Rmd 08, version 0.9.3—minor prose/code updates Oct 10, 2018
08.md 08, version 0.9.3—minor prose/code updates Oct 10, 2018
09.Rmd 09, version—0.9.3—minor updates to prose/code Oct 11, 2018
09.md 09, version—0.9.3—minor updates to prose/code Oct 11, 2018
10.Rmd 10 html_document version 0.2.0--complete rough draft Oct 12, 2018
10.html 10 html_document version 0.2.0--complete rough draft Oct 12, 2018
11.Rmd 11 github_document version 0.9.0 Jul 31, 2018
11.md 11 github_document version 0.9.0 Jul 31, 2018
12.Rmd 12, version 0.9.2—update for bayesplot 1.6.0 and tidybayes 1.0.1 Aug 13, 2018
12.md 12, version 0.9.2—update for bayesplot 1.6.0 and tidybayes 1.0.1 Aug 13, 2018
13.Rmd 13 github_document version 0.1.0--done through 13.2.3 Oct 7, 2018
13.md 13 github_document version 0.1.0--done through 13.2.3 Oct 7, 2018
15.Rmd 15, version 0.9.2—better use of ggridges Nov 28, 2018
15.md 15, version 0.9.2—better use of ggridges Nov 28, 2018
16.Rmd 16, version 0.9.1—fixed the exponential prior on nu and some of the p… Aug 12, 2018
16.md 16, version 0.9.1—fixed the exponential prior on nu and some of the p… Aug 12, 2018
17.Rmd 17, version 0.9.1—fixed the exponential prior on nu Aug 12, 2018
17.md 17, version 0.9.1—fixed the exponential prior on nu Aug 12, 2018
18.Rmd 18 github_document version 0.9.1—first full version Nov 25, 2018
18.md 18 github_document version 0.9.1—first full version Nov 25, 2018
19.Rmd 19 github_document version 0.9.2—set seeds, removed heading #s, clean… Dec 27, 2018
19.md 19 github_document version 0.9.2—set seeds, removed heading #s, clean… Dec 27, 2018
20.Rmd 20 github_document version 0.9.0 Dec 26, 2018
20.md 20 github_document version 0.9.0 Dec 26, 2018
20_fits.rda 20 github_document version 0.9.0 Dec 26, 2018
21.Rmd 21, version 0.1.0 Feb 5, 2019
21.md 21, version 0.1.0 Feb 5, 2019
README.md README update Dec 25, 2018
Recoding Doing Bayesian Data Analysis.Rproj first commit Jul 30, 2018
hgn.Rdata added the Kruschke data Jul 30, 2018
hgn.csv added the Kruschke data Jul 30, 2018

README.md

Doing Bayesian Data Analysis in brms and the tidyverse

Kruschke began his text with "This book explains how to actually do Bayesian data analysis, by real people (like you), for realistic data (like yours)." Agreed. Similarly, this project is designed to help those real people do Bayesian data analysis. My contribution is converting Kruschke's JAGS code for use in Bürkner’s brms package for fitting Bayeisn regression models in R using HMC. I also prefer plotting with Wickham's ggplot2, and recently converted to using tidyverse-style syntax (which you might learn about here or here). So we'll be using those methods, too.

This project is not meant to stand alone. It's a supplement to the second edition of Kruschke’s Doing Bayesian Data Analysis. I follow the structure of his text, chapter by chapter, translating his analyses into brms and tidyverse code. However, many of the sections in the text are composed entirely of equations and prose, leaving us nothing to translate. When we run into those sections, I typically just quote some of the prose.

I reproduce the bulk of the figures in the text, too. However, I don't always reproduce them exactly. I’m passionate about data visualization and like to play around with color palettes, formatting templates, and other conventions from time to time. For more on visualization, chapters 3, 7, and 28 in R4DS or Healy’s Data Visualization: A practical introduction.

While this is still in the working-project phase, I’ll update chapters in .Rmd files and those rendered as output: github_document. In addition to checking the file list, you can also keep track of my progress by my notes in the Issues. The long-term goal is to stitch all this together as a coherent bookdown document. With any luck, I’ll have the first version of that up sometime in the spring of 2019.